Run Code
|
API
|
Code Wall
|
Users
|
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
Please
log in
to post a comment.
karma legacy "variant" with attr_cast
Test
no-thread
#30.1
1337
dharmesh
boost::synchronize
upper_bound With binary_function Visual Studio 2008 Bug?
Progress bar
Shadow pointer member variable
Please log in to post a comment.