[dox] enum specs vs reality

Andrej Mitrovic andrej.mitrovich at gmail.com
Wed Aug 28 12:12:44 PDT 2013


On 8/28/13, Jacob Carlborg <doob at me.com> wrote:
> Yes, it's sometimes usable to be able to declare dummy types like this.
> Especially now when we have UAD's (User Defined Attribute):
>
> enum foo;
>
> @foo bar ();

Good tip, I used to use structs for this but I wanted something
non-instantiable.


More information about the Digitalmars-d mailing list