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 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 comp