Is enum static?

Dicebot public at dicebot.lv
Tue Aug 20 15:25:48 PDT 2013


On Tuesday, 20 August 2013 at 21:01:48 UTC, Jonathan M Davis 
wrote:
> Honestly, I have no problem with this. The type of string 
> literal is
> immutable(char)[], so having to dup it makes sense.

Problem is that literal with has a known fixed size results in 
dynamic array instead of a static stack-allocated one.


More information about the Digitalmars-d-learn mailing list