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
reverse linked list
UtilityPair2
Teatime Snack
Ultimo intento
python
PriQHotel2
maximum_frequent_sum
proga2
xyz
CPP - Arrays - Ex.4