__traits(getAttributes, ...) gets attributes for the first overload only

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Sat Dec 5 12:44:40 PST 2015


Working on the big-oh thing I noticed that for an overloaded function, 
__traits(getAttributes, ...) applied to overloaded functions only 
fetches attributes for the first syntactically present overload. Bug or 
feature?

Andrei


More information about the Digitalmars-d mailing list