Request for Comment assert(__ctfe)
Dominikus Dittes Scherkl
dominikus.scherkl at continental-corporation.com
Mon Apr 6 14:14:48 UTC 2020
On Monday, 6 April 2020 at 13:49:19 UTC, Atila Neves wrote:
> On Monday, 6 April 2020 at 13:41:52 UTC, Stefan Koch wrote:
>> For now assert(__ctfe); enables people to manually mark their
>> ctfe-only, functions.
>
> What about `in(__ctfe)` instead?
It was already explained, this will expand to the same code, so
yes, both will work.
More information about the Digitalmars-d
mailing list