Dynamically Sized Structs

Steven Schveighoffer via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Apr 18 10:26:19 PDT 2014


On Fri, 18 Apr 2014 12:59:35 -0400, Kagamin <spam at here.lot> wrote:

> Oh, and I don't believe, that a variable-size struct can be emplaced  
> inside fixed-size struct or class. Only as a smart pointer from the  
> example.

It goes at the end. Then you need to allocate the whole thing with that in  
mind.

-Steve


More information about the Digitalmars-d-learn mailing list