Is enum static?

Dicebot public at dicebot.lv
Tue Aug 20 11:57:49 PDT 2013


On Tuesday, 20 August 2013 at 18:38:54 UTC, John Colvin wrote:
> So you're saying it will allocate a new dynamic array, 
> initialise it with 1,2,3,0 and then copy the elements from that 
> new array to the static one? That's not good...

Welcome to painful world of allocation-free D programming ;)


More information about the Digitalmars-d-learn mailing list