UDAs on templates

Jacob Carlborg doob at me.com
Wed Oct 16 12:23:13 PDT 2013


On 2013-10-16 16:05, Max Samukha wrote:

> That sucks. Then, getAttributes (and other traits dealing with overload
> sets) should return an empty set, a union or accept a pattern to match
> against the members of the overload set.

Currenrly one need to call __traits(getOverloads) and then iterate of 
the result and call __traits(getAttributes) on each item.

-- 
/Jacob Carlborg


More information about the Digitalmars-d-learn mailing list