Dealing with raw types as attributes
Neia Neutuladh
neia at ikeran.org
Thu Nov 1 20:33:10 UTC 2018
On Thu, 01 Nov 2018 20:01:51 +0000, Stanislav Blinov wrote:
> Check if an UDA is a type?.. As in, not just `is(uda == Foo)`,
> but simply `is(uda)`:
Which works, but generally makes things more complex in code that's
already pretty deeply nested. It's also something I have to worry about
every time I do the static foreach to get UDAs, in the cases where that's
more than once.
More information about the Digitalmars-d-learn
mailing list