Identify enum

Moritz Warning moritzwarning at web.de
Mon Jul 21 14:40:49 PDT 2008


On Mon, 21 Jul 2008 20:42:41 +0000, BCS wrote:

> Reply to Moritz,
> 
> 
>> ^ Yes, that's the approach I use and the problem that gives me a
>> headache.
>> 
>> 
> 
> Well I think you're toast: this test cases fails
> 
> enum Foo{a}
> static assert("Foo" == Foo.stringof, "'Foo' == '"~Foo.stringof~"'");
> 
> Might be a bug, but it might already be reported.

I'm pretty sure it was reported already. :F


More information about the Digitalmars-d-learn mailing list