Request for Comment assert(__ctfe)

Stefan Koch uplink.coder at googlemail.com
Sun Apr 5 14:26:30 UTC 2020


On Sunday, 5 April 2020 at 14:25:27 UTC, Steven Schveighoffer 
wrote:
> On 4/5/20 8:11 AM, Stefan Koch wrote:
>> What do you guys think?
>
> It seems like a good idea, except what you will see is a linker 
> error if you call it. Which is not very friendly or gives the 
> right impression.
>
> Is there a way we can have the compiler give an error when it 
> sees this during compile-time?
>
> -Steve

Yes. that is possible.

However actually it never happens :)


More information about the Digitalmars-d mailing list