Voldemort structs no longer work?

Timon Gehr timon.gehr at gmx.ch
Sat Dec 15 17:05:34 PST 2012


On 12/15/2012 10:44 PM, H. S. Teoh wrote:
> ...
> This way, the type still has an .init, except that it's only accessible
> inside the function itself. Or are there unintended consequences here?
>

Lazy initialization of a member of such a type would require unsafe 
language features and not work in CTFE.



More information about the Digitalmars-d mailing list