On 30 November 2010 22:51, Roman Kononov wrote:
> The two programs below differ by the location of =default applied to
> the move constructor. In the first program, it is defaulted inside
> the class during declaration. In the second program, it is defaulted
> outside the class in the definition.
>
> The first program does not compile. The second does compile. Is it a
> bug or am I misuse gcc?

Such questions are off-topic on this mailing list which is for
development of gcc, please take questions about using gcc to the
gcc-h...@gcc.gnu.org list, or if you think you've found a bug report
it to bugzilla. If it's a bug, discussing how to fix it would be
appropriate on this list, but "is this a bug" questions are not.

Reply via email to