Lazy evaluation of enum members

Walter Bright newshound2 at digitalmars.com
Fri Sep 20 11:30:56 PDT 2013


On 9/20/2013 11:10 AM, Manfred Nowak wrote:
> Walter Bright wrote:
>
>> Enum member forward references now work:
>
> Replace `D,' by `D = E + 1'?

That is a circular reference, not a forward one, and is an error.


> And still: shouldn't `enum's be weakly ordered?

??



More information about the Digitalmars-d mailing list