C++17 cannot beat D surely

Stanislav Blinov via Digitalmars-d digitalmars-d at puremagic.com
Sat Jun 3 23:08:28 PDT 2017


On Sunday, 4 June 2017 at 05:38:24 UTC, H. S. Teoh wrote:

> And if you need a particular functionality both at compile-time 
> and during runtime, there's no need to write it twice in two 
> different sublanguages. You just write one function once, and 
> call it from both CTFE and at runtime. It Just Works(tm).

...except when you have `if (__ctfe)` :P


More information about the Digitalmars-d mailing list