Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
imdying
#include <iostream> class dummy { public: dummy() { std::cout << "lifetime begin\n"; } ~dummy() { std::cout << "lifetime ends\n"; } }; void test() { std::cout << "init\n"; auto ins = dummy(); std::cout << "about to return\n"; } int main() { test(); std::cout << "wow\n"; }
run
|
edit
|
history
|
help
0
why fatal error C1083
what is this
Get parameter type
vc++ bug?
problem_solution_1
hangman
Matrix_1
C++ move/copy constructor and assignment demo
bad_cast
pitch errors verification for Nowhk