1 matches bool, 2 matches long

Maxim Fomin maxim at maxim-fomin.ru
Fri Apr 26 21:19:29 PDT 2013


On Friday, 26 April 2013 at 21:34:44 UTC, Walter Bright wrote:
> On 4/26/2013 1:59 PM, Diggory wrote:
>> The actual value shouldn't be taken into
>> account when determining which overload to call, only the type 
>> should matter,
>
> D has an interesting feature called VRP (value range 
> propagation), where implicit conversion very much depends on 
> the value. For example:
>

Then perhaps ban VRP on arguments if it affects overloading?


More information about the Digitalmars-d mailing list