D RAII with postblit disabled

Adam D. Ruppe destructionator at gmail.com
Thu Mar 29 04:16:55 UTC 2018


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)


More information about the Digitalmars-d-learn mailing list