D RAII with postblit disabled

Norm norm.rowtree at gmail.com
Thu Mar 29 05:58:59 UTC 2018


On Thursday, 29 March 2018 at 04:16:55 UTC, Adam D. Ruppe wrote:
> On Thursday, 29 March 2018 at 04:12:38 UTC, Norm wrote:
>> Is there a way to do this in D, or does it require special 
>> "create" functions for every struct that has a RAII-like 
>> struct as a member?
>
> You'll have to do it all the way up (unless you can use a 
> constructor with an argument and call that instead)

OK, thanks.


More information about the Digitalmars-d-learn mailing list