www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 16002] New: Add __traits(isModule) and __traits(isPackage)


          Issue ID: 16002
           Summary: Add __traits(isModule) and __traits(isPackage)
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: blm768 gmail.com

While working on a set of bindings to a C++ library, I found that it would be
useful to have __traits to determine whether a symbol represents a module


May 07 2016