www.digitalmars.com         C & C++   DMDScript  

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

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

          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


https://github.com/dlang/dmd/pull/5290

--
May 07 2016