Nameless Static Array

Taylor Hillegeist via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Jun 12 09:08:48 PDT 2014


On Thursday, 12 June 2014 at 16:02:18 UTC, Adam D. Ruppe wrote:
> On Thursday, 12 June 2014 at 15:58:25 UTC, Taylor Hillegeist 
> wrote:
>> But without the NEW strategy. I must allocate static arrays 
>> and set them to a pointer in my struct. Not too big of deal 
>> really.
>
> Have you considered just making the buffer a struct member?

I have indeed! I am considering having different sized arrays for 
the buffer. I just figured that meant having different structs 
with various sizes.


More information about the Digitalmars-d-learn mailing list