Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Изволов#7
//g++ 5.4.0 #include <utility> struct A {}; A f(A a) { return a; } A g (const A a) { return a; } const A h(A a) { return a; } const A i( const A a) { return a; } int main() { A a; A b; b = f(std::move(a)); a = g(std::move(b)); b = h(std::move(a)); a = i(std::move(b)); }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
Search a 2D Matrix
Teatime Snack
Camel case
strange builtin_offseof behavior
ignat
1
Biggest even palindrom
Pac update
strict aliasing
Trapping rain water problem
Please log in to post a comment.