enum, std.traits and "is(SomeEnumOfStruct == struct)" ?
monarch_dodra
monarchdodra at gmail.com
Wed Sep 25 07:20:21 PDT 2013
On Saturday, 21 September 2013 at 16:08:23 UTC, monarch_dodra
wrote:
> Question 2: Would the syntax: "is (T : struct)" or "is (T :
> enum)" make sense? It would work around the "problem"
> elegantly, as well as also provide support for asking things
> such as "does this class have an alias this to a struct", or
> "does this struct have an alias this to an enum"?
http://d.puremagic.com/issues/show_bug.cgi?id=11124
More information about the Digitalmars-d
mailing list