Copy constructors for lazy initialization

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Fri May 28 21:13:41 PDT 2010


On 05/28/2010 09:18 PM, Lionello Lunesu wrote:
> Nice. This could also be used to implement unique_ptr(T), with move
> semantics.

Yah, a number of interesting idioms spring to life.

Andrei



More information about the Digitalmars-d mailing list