Request for Comment assert(__ctfe)

Adam D. Ruppe destructionator at gmail.com
Sun Apr 5 22:19:06 UTC 2020


On Sunday, 5 April 2020 at 22:12:02 UTC, Stefan Koch wrote:
> On Sunday, 5 April 2020 at 20:54:03 UTC, Meta wrote:
>> We likely get the shorthand version for free as well:
>> string generateMixin(...)
>> in(__ctfe)
>> {
>>    ...
>> }
>
> No. the in contract was already a pain in the butt.

That IS an in contract. idk about the implementation but from the 
user level this is identical to in { assert(__ctfe);}


More information about the Digitalmars-d mailing list