Lack of isPublic isPrivate isProtected compile time reflection features
Basile B.
b2.temp at gmx.com
Sun Jul 8 21:20:27 UTC 2018
On Sunday, 8 July 2018 at 20:58:54 UTC, 12345swordy wrote:
> I don't see it anywhere in the std.traits library nor in the
> default compiler traits. This shouldn't be difficult to
> implemented them in the std.traits library isn't it?
>
> -Alexander
hello, look at
__traits(getProtection)[1] in the language traits
[1] https://dlang.org/spec/traits.html#getProtection
More information about the Digitalmars-d
mailing list