Run Code  | API  | Code Wall  | Misc  | Feedback  | Login  | Theme  | Privacy  | Patreon 

Demo

Language: Layout:
+ ] Compiler args + ] Show input
Compilation time: 1.14 sec, absolute service time: 1,28 sec 
edit mode |  history
Error(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