Dynamically Sized Structs

Dicebot via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Apr 17 11:36:55 PDT 2014


On Thursday, 17 April 2014 at 18:29:21 UTC, Kagamin wrote:
> How is this different from my example?

b = new byte[StateImpl.sizeof + CellIndex.sizeof*cellCount];

this line creates heap indirection


More information about the Digitalmars-d-learn mailing list