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)