Semantics of mixed CT and RT statements

NaN divide at by.zero
Mon Dec 24 15:49:04 UTC 2018


On Monday, 24 December 2018 at 10:16:59 UTC, NaN wrote:
> On Monday, 24 December 2018 at 01:08:57 UTC, Timoses wrote:
>> On Sunday, 23 December 2018 at 02:58:30 UTC, Neia Neutuladh
>
>
> static if gives you a guarantee it'll be evaluated at run time 
> and the dead code branch pruned away. Not sure if the scoping 
> also has different semantics vs a regular if.

I meant at "compile time" oops


More information about the Digitalmars-d mailing list