3 ms·
D's Compile Time Function Evaluation can use operator new to allocate memory. It's an extremely useful non-feature. One major use is to create strings at compi
by WalterBright 4y ago
D's Compile Time Function Evaluation can use operator new to allocate memory. It's an extremely useful non-feature.
One major use is to create strings at compile time, which are then fed back into the compiler as D code. I.e. metaprogramming.