On Friday, 27 August 2021 at 06:52:10 UTC, Kirill wrote:
Is there a way to do mixin or similar during runtime?

I'm trying to read a csv file and extract data types. Any ideas on how this should be approached in D are greatly appreciated.

remember D is a statically compiled language, `mixin` is for generating code, so, it won't work except you have a runtime code parser.

you may need a scripting language embedded in your D app to achieve this.


thx.

Reply via email to