Run Code | API | Code Wall | Misc | Feedback | Login | Theme | Privacy | Patreon |
DemoError(s): source_file.cpp:16:34: error: non-const lvalue reference to type 'int' cannot bind to an initializer list temporary fact_t_move(val_t &&value) : m_value{std::move(value)} {} ^ ~~~~~~~~~~~~~~~~~~ source_file.cpp:26:23: note: in instantiation of member function 'fact_t_move<int &>::fact_t_move' requested here fact_t_move<int&> fm2(x); ^ 1 error generated. |
λ
.NET NoSQL database for rapid development
|