Summary: __traits: no way to get overloads and information for
                    non-instance methods
           Product: D
           Version: 2.027
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: DMD

Given a UDT and a constructor or a static method, I want to use __traits to
access overloads of that constructor or static method.

__traits provides allMembers, which returns static and non-static functions and
non-static constructors. It also provides getVirtualFunctions, which provides
overloads for non-static functions. There is no equivalent to
getVirtualFunctions for constructors or static functions.


Reply via email to