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

Bug in VS2017?

Language: Layout:
+ ] Compiler args + ] Show input
Compilation time: 1,49 sec, absolute service time: 1,52 sec 
edit mode |  history
Error(s):
source_file.cpp(10): error C2440: 'initializing': cannot convert from 'int' to 'int &&'
source_file.cpp(10): note: You cannot bind an lvalue to an rvalue reference
Microsoft (R) C/C++ Optimizing Compiler Version 19.00.23506 for x64

        

    
                
λ
.NET NoSQL database for rapid development