1 matches bool, 2 matches long

Timon Gehr timon.gehr at gmx.ch
Sun Apr 28 13:06:51 PDT 2013


On 04/28/2013 09:16 PM, Walter Bright wrote:
> On 4/27/2013 5:53 PM, Jonathan M Davis wrote:
>> which makes it so that you can define how a user-defined type will be
>> treated
>> when used in a condition and for built-in types completely removes if
>> statements and loops from discussions on implicit conversion as
>> there's no
>> implicit conversion being used (unless you're arguing for the cast to
>> not be
>> inserted for conditions, in which case, implicit conversion _would_ be
>> used).
>
> I can't make heads or tails of this!
>

He is saying that VRP is irrelevant in a boolean evaluation context.


More information about the Digitalmars-d mailing list