Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
gal2
#include <iostream> #include <functional> using namespace std; class A { public: A() { cout << "in ctor\n"; } A(const A& a) { cout << "in copy\n"; } A(const A&& a) { cout << "in move\n"; } }; void foo(A &a) { cout << "in foo\n"; } int main() { A a1; foo(a1); return 1; }
run
|
edit
|
history
|
help
0
Hello World - verbose
12hours Clock c++
Bitset Operators
PrintShapePointer
Expected GCD
Valuing Fixed Income Investments
10 wizards
Shultz_Lab2.CPP
Sangharsh vhawale
test