isMutable!(T) - intended/overlooked behaviour?

Basile B. via Digitalmars-d digitalmars-d at puremagic.com
Mon Jan 11 07:33:54 PST 2016


On Monday, 11 January 2016 at 15:27:51 UTC, Liam McSherry wrote:
> On Monday, 11 January 2016 at 15:23:34 UTC, Liam McSherry wrote:
>> On Monday, 11 January 2016 at 15:17:24 UTC, Liam McSherry 
>> wrote:
>>> ---
>>> enum int root_i = -1;
>>> ---
>>
>> Or rather
>>
>> ---
>> enum int sqrt_i = -1;
>> ---
>
> Argh. Obviously I need more coffee today.
>
> ---
> enum int square_i = -1;
> ---

It's never an enum

http://www.wow247.co.uk/wp-content/uploads/2015/07/terminator-smile-2-620x413.jpg

"enum" can be removed.



More information about the Digitalmars-d mailing list