enum abuse

Dicebot public at dicebot.lv
Fri Feb 28 10:52:01 PST 2014


On Friday, 28 February 2014 at 18:21:39 UTC, Steve Teale wrote:
> BTW, why does an immutable integer type need to have an address?
>
> Steve

So that you can pass it to function `void foo(immutable(int)* 
arg)`. It is just a normal variable after all, only immutable.


More information about the Digitalmars-d-learn mailing list