https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72580
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|FIXED |INVALID --- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to Gleb Natapov from comment #2) > As far as I see it talks about copy constructor not move constructor. No, it says "the constructor" not "the copy constructor". Copy initialization refers to the syntactic form of initialization, not whether it uses a copy constructor or a move constructor. It also specifically talks about "the copy/move operation". > Clang > compiles the code just fine. And Intel icc rejects it for using a deleted function.