[Issue 16002] New: Add __traits(isModule) and __traits(isPackage)
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Sat May 7 15:44:05 PDT 2016
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 at puremagic.com
Reporter: blm768 at 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
and/or package. I've implemented a solution that appears to work; see PR #5290.
https://github.com/dlang/dmd/pull/5290
--
More information about the Digitalmars-d-bugs
mailing list