Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
gal
#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"; } void main() { A a1; foo(a1); }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
lambda demo
1028D
Power of an element
List add
test
Test Swap Functions
water drop/ water land
graph representation Adjacency List
Functions-Part I
Backtracking_simple
Please log in to post a comment.