[Issue 4476] __traits for more kinds of names
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Aug 6 14:34:42 UTC 2020
https://issues.dlang.org/show_bug.cgi?id=4476
Mathias LANG <pro.mathias.lang at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |pro.mathias.lang at gmail.com
Resolution|--- |FIXED
--- Comment #5 from Mathias LANG <pro.mathias.lang at gmail.com> ---
Nowadays we have `__traits(identifier)` which gives you name.
There's also `std.traits.fullyQualifiedName`, and the `__MODULE__` token.
I think that fits all your use case, so closing as FIXED.
--
More information about the Digitalmars-d-bugs
mailing list