Using Enums to Generate Scoped List of Names

Dennis dkorpel at gmail.com
Thu Aug 4 14:45:26 UTC 2022


On Wednesday, 3 August 2022 at 15:49:25 UTC, Andrey Zherikov 
wrote:
> why do you need to generate code using string mixins if this 
> can be done in more readable way (IMHO).

In DMD, the generated getters/setters are `extern(C++)` so LDC 
and GDC can access them from C++. This doesn't work with 
opDispatch.


More information about the Digitalmars-d mailing list