A way to mixin during runtime?
Mathias LANG
geod24 at gmail.com
Fri Aug 27 09:51:46 UTC 2021
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.
You cannot mixin at runtime. However, it is fairly easy to map a
finite and CT-know set of argument to runtime arguments via
`static foreach`.
Could you give us example of the content of your CSV file and
what you are trying to do ?
More information about the Digitalmars-d-learn
mailing list