T.init and @disable this

kenji hara k.hara.pg at gmail.com
Sat Oct 6 00:27:30 PDT 2012


2012/10/6 Jonathan M Davis <jmdavisProg at gmx.com>:
> Regardless, we need to better sort out how disabling init works. It was my
> understanding that the correct way to do it was to do
>
> @disable this();
>
> but apparently that's in dispute (at least, Kenji doesn't seem to think that
> that's supposed to disable the init property), and it doesn't actually work.

My argue is simple: If your argument is proper behavior, you never
move NonNull object.

Kenji Hara


More information about the Digitalmars-d mailing list