On Friday, 10 June 2022 at 06:17:54 UTC, bauss wrote:
On Thursday, 9 June 2022 at 23:50:10 UTC, user1234 wrote:
There's [been attempts] to expose it, exactly so that users
can generate unique names, but that did not found its path in
the compiler.
[been attempts]: https://github.com/dlang/dmd/pull/10131
You can generate unique names actually by using CTFE RNG, so
it's not really necessary to have it exposed to achieve that.
See my hacky example of hidden class members here:
https://forum.dlang.org/thread/siczwzlbpikwlevvi...@forum.dlang.org
Thanks for the answers. In my particular I found a way to generate
a new depending on the the left hand side.