How about some __initialize magic?

Tejas notrealemail at gmail.com
Sun Dec 19 15:39:54 UTC 2021


On Saturday, 27 November 2021 at 21:56:05 UTC, Stanislav Blinov 
wrote:
> D lacks syntax for initializing the uninitialized. We can do 
> this:
>
> [...]

Think this can help with that `void` initialization problem? We 
can have a node attribute `isInitialized` in the frontend, 
depending on which we can decide whether to call the destructor 
or not at the end of the scope?


More information about the Digitalmars-d mailing list