May 17, 2018 [Issue 4476] __traits for more kinds of names | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=4476 Dmitry Olshansky <dmitry.olsh@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dmitry.olsh@gmail.com --- Comment #4 from Dmitry Olshansky <dmitry.olsh@gmail.com> --- Will likely be superseded by forthcoming introspection DIP. -- |
August 06, 2020 [Issue 4476] __traits for more kinds of names | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=4476 Mathias LANG <pro.mathias.lang@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |pro.mathias.lang@gmail.com Resolution|--- |FIXED --- Comment #5 from Mathias LANG <pro.mathias.lang@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. -- |
Copyright © 1999-2021 by the D Language Foundation