On Thursday, 1 September 2022 at 19:45:08 UTC, IGotD- wrote: > > I previously saw an example that allocated the space in the > class for the member class, unfortunately I cannot find it. There's scoped: https://dlang.org/library/std/typecons/scoped.html Scroll down the example to the "Use as member variable" part. I assume it can be used as a class member too.