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