Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
rvalue lifetime
//Microsoft (R) C/C++ Optimizing Compiler Version 19.00.23026 for x86 #include <iostream> using namespace std; class A{ public: int get() { return 1; } }; A&& getA() { return A(); } int main() { A&& a = getA(); cout << a.get() <<endl; }
run
|
edit
|
history
|
help
0
why fatal error C1083
post_decrement_example
du
move swap
Matrix_1
hangman
du
cv2
Visual Studio 2015 Compiler Bug: 64bit multiplication
#21