Run Code
|
API
|
Code Wall
|
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
decrypt_problem_5
runtime template mode processor
Quiz 12/13
Common elements in 3 sorted vectors with extra space
multiply_without_asterisk
bitmap with pairs
DailyExchRate
as
Policy based smart pointer
ThreadPool