https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86135
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |RESOLVED Resolution|--- |DUPLICATE --- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> --- This is not a bug, GCC is correct. With list-initialization the compiler does not always select a copy/move constructor even when the argument is the same type as the object being constructed. *** This bug has been marked as a duplicate of bug 85577 ***