https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53637
TC <rs2740 at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rs2740 at gmail dot com --- Comment #6 from TC <rs2740 at gmail dot com> --- (In reply to Thomas Braun from comment #4) > (I'm no gcc dev at all) > > In general gcc is much better in doing NRVO/URVO than other compilers > according to my analysis [1]. So maybe the competitors need to get better > first ;) > > [1]: http://www.byte-physics.de/cpp-copy-elision The three cases (L, P, R) where GCC is "better" is actually non-conforming.