Static arrays inside struct and class - bug?

Daniel Kozak via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Aug 1 11:50:08 PDT 2015


On Saturday, 1 August 2015 at 18:07:51 UTC, NX wrote:
> On Saturday, 1 August 2015 at 17:29:54 UTC, Adam D. Ruppe wrote:
>
> Sorry, I can't see _the_ point in that. I understand that could 
> be a problem if it was a "global" array but this scenery is 
> completely wrong in my view. I'm already going to dynamically 
> allocate it

No you don't. You still use static allocation for array



More information about the Digitalmars-d-learn mailing list