Move construction from !is(T == typeof(this))
Stanislav Blinov via Digitalmars-d
digitalmars-d at puremagic.com
Tue Apr 25 01:53:22 PDT 2017
On Tuesday, 25 April 2017 at 07:58:43 UTC, Jack Applegame wrote:
> On Monday, 24 April 2017 at 18:48:00 UTC, Stanislav Blinov
> wrote:
>> Suddenly, we can't copy the pointer, or at least make a
>> shallow copy of it, without violating const, and the latter is
>> UB.
>
> Because transitive const/immutable is shit. And that shit had
> to introduce another shit - Rebindable. D const/immutable
> system is very big PITA. I hate it.
Don't use it then. Life is so exciting when everything may change
at any time.
More information about the Digitalmars-d
mailing list