Immovable types
Meta via Digitalmars-d
digitalmars-d at puremagic.com
Wed Apr 19 07:45:59 PDT 2017
On Wednesday, 19 April 2017 at 02:53:18 UTC, Stanislav Blinov
wrote:
> Non-copyable and immovable types will have to be explicitly
> initialized, as if they had @disable this(), as they can't even
> be initialized with .init:
It's an interesting idea but I can't even begin to fathom how
much code this would break. So much D code relies on every type
having a valid .init.
More information about the Digitalmars-d
mailing list