View move_constructor_test.cpp
/* | |
run (bash or cygwin-on-windows): | |
g++ -O3 -std=c++14 -o test.exe test.cpp && ./test.exe; rm ./test.exe | |
run and print exit code (bash or cygwin-on-windows): | |
g++ -O3 -std=c++14 -o test.exe test.cpp && ./test.exe && echo "$?"; rm ./test.exe | |
time (bash or cygwin-on-windows): | |
g++ -O3 -std=c++14 -o test.exe test.cpp && time ./test.exe; rm ./test.exe |