On Sunday, 8 July 2018 at 21:20:27 UTC, Basile B. wrote:
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

Oh, thank you!

-Alexander

Reply via email to