[OT] Modules dropped out of C++17

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Tue Jun 9 13:02:53 PDT 2015


On 6/9/2015 4:47 AM, Kagamin wrote:
> On Tuesday, 9 June 2015 at 10:48:22 UTC, Marc Schütz wrote:
>> static assert() is your friend in this case
>
> The point is that in D you don't need to express ctfe guarantee at all. It just
> works.

Also, only the particular path the CTFE interpreter takes through the function 
needs to be CTFE'able, not all the paths. This makes it starkly different from 
constexpr.


More information about the Digitalmars-d mailing list