https://issues.dlang.org/show_bug.cgi?id=18785

          Issue ID: 18785
           Summary: No way to get list of overloads for a given template
           Product: D
           Version: D2
          Hardware: x86
                OS: Windows
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: nob...@puremagic.com
          Reporter: simen.kja...@gmail.com

__traits(getOverloads) only works on regular functions, and do not include
templated overloads. Simply adding them to getOverloads's result would be a
breaking change. I therefore propose adding a new trait - getAllOverloads -
that returns all symbols in an overload set, be they types, templates,
functions, or otherwise.

--

Reply via email to