PhobosWatch: manifest => enum

Janice Caron caron800 at googlemail.com
Sat Dec 29 00:36:07 PST 2007


On 12/29/07, Don Clugston <dac at nospam.com.au> wrote:
> Does this compile?
>
> enum : cfloat { A=2, B, C }

Even more interestingly, what about

    enum : ifloat { a = 2i, b };

If b has to equal (a+1), then there is no way it can be the same type as a.



More information about the Digitalmars-d mailing list