https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62227
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |enhancement --- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> --- C++11 says "When certain criteria are met, an implementation is allowed to omit the copy/move construction of a class object, even if the copy/move constructor..." which only applies to copy constructors or move constructors. But the current draft says "even if the constructor selected for the copy/move operation" So it does seem that elision is now allowed when the relevant constructor is a template.