C++ copy-elision of return-values
(Named) Return Value Optimization is an exception to the as-if rule governing optimizations C++ implementations may perform.
It allows elliding a copy of the (named) return-value, if it is a local variable or a temporary.
See copy-elision.