Move Constructor Syntax
Kagamin
spam at here.lot
Sat Oct 12 15:19:08 UTC 2024
On Saturday, 12 October 2024 at 08:06:16 UTC, Manu wrote:
> 4. rvalue constructors exist and are used, and are NOT move
> constructors
>
>
> They are rvalue constructors; it doesn't matter what they do,
> their selection criteria remains identical.
>
> I could similarly write your a copy constructors that doesn't
> make a copy... that's my prerogative.
You mean rvalue constructors that duplicate their argument are
just incorrectly implemented move constructors?
More information about the Digitalmars-d
mailing list