https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24847
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- these compiler reject this code: GCC MSVC ICC Only clang accepts the code. All of the ones which reject it, all say the constructor is a copy constructor.