CTFE ^^ (pow)
jmh530
john.michael.hall at gmail.com
Fri Mar 23 19:20:05 UTC 2018
On Friday, 23 March 2018 at 18:09:01 UTC, Manu wrote:
> [snip]
>
> Like, in this particular project, being able to generate all
> tables at compile time is the thing that distinguishes the D
> code from the C++ code; it's the *whole point*... If I have to
> continue to generate tables offline and paste big tables of
> data in the source code (and then re-generate them manually
> when I change something); then situation is identical to C++,
> therefore, stick with C++.\
>
You can use import expressions, but then you have to parse the
string at compile-time to turn it into something useful, I
suppose.
More information about the Digitalmars-d
mailing list