Andrei Alexandrescu Wrote: > The main idea is to allow creation of noncopyable types by marking > this(this) as @disable.
I must be missing something, but isn't this usually done by making the copy constructor private?
Andrei Alexandrescu Wrote: > The main idea is to allow creation of noncopyable types by marking > this(this) as @disable.
I must be missing something, but isn't this usually done by making the copy constructor private?