Separate dynamic object arrays for multiple instances of overlying object

Richard (Rikki) Andrew Cattermole richard at cattermole.co.nz
Thu Mar 14 09:51:24 UTC 2024


That code example works fine as is.

When you give a value to a field, it places whatever that is into the 
initialize state that is shared between all instances of that type.

As long as its null or allocated in a constructor, it'll work.


More information about the Digitalmars-d mailing list