Run Code
|
API
|
Code Wall
|
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
decrypt_problem_5
motores
xyp
runtime template mode processor
Policy based smart pointer
Op&&^Overload
Longest Palindrom in String
find first non repeating
Dar
Proga1