On 26 November 2012 14:39, Andrej Mitrovic <andrej.mitrovich@gmail.com> wrote:
On 11/26/12, Manu <turkeyman@gmail.com> wrote:It's not an enum, it's a manifest constant.
> 1.
>
> enum i = 10;
> pragma(msg, is(i == enum) || is(typeof(i) == enum)); // <- false?!
>
> I can't find a way to identify that i is an enum, not a variable; can not
> be assigned, has no address, etc.