[dox] enum specs vs reality

Jacob Carlborg doob at me.com
Wed Aug 28 11:44:31 PDT 2013


On 2013-08-28 19:31, Maxim Fomin wrote:

> I suppose this is legal for the same reasons as class A; or struct S; is
> legal - forward declaration (although in case of enums it is pretty
> useless).

It's useful for UDA's:

enum foo;

@foo bar ();

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list