Considering the high quality of today\'s compilers regarding return value optimization (both RVO and NRVO), I was wondering at what class complexity it\'s actually meaningfu
Irrespective of anything that might be automatically done by the compiler I'd say that:
std::vector
members)Put otherwise, if move can do something more efficiently than copy, it makes sense to add it. In your really_trivial
a move could only be as efficient as the copy already is.