[Bug c++/63717] Value-initialization performs defaut-initialization when =default is outside the class declaration
morwenn29 at hotmail dot fr
gcc-bugzilla@gcc.gnu.org
Mon Nov 3 09:16:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63717
Morwenn <morwenn29 at hotmail dot fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |INVALID
--- Comment #2 from Morwenn <morwenn29 at hotmail dot fr> ---
Not a bug actually, sorry for that (that makes two "sorry" in two messages). I
read again [dcl.fct.def.default] and it appears that I was wrong; I totally
missed the "first declaration" part in the following statement:
A function is user-provided if it is user-declared and not explicitly defaulted
or
deleted on its first declaration.
More information about the Gcc-bugs
mailing list