On Wed, Aug 15, 2018 at 11:30 AM, Marek Polacek wrote:
> We weren't complaining about narrowing when converting to bool because
> standard_conversion wasn't setting check_narrowing for the converting to bool
> case; it only sets it at the end of the function. Moreover, check_narrowing
> wasn't ca
We weren't complaining about narrowing when converting to bool because
standard_conversion wasn't setting check_narrowing for the converting to bool
case; it only sets it at the end of the function. Moreover, check_narrowing
wasn't catching real_type -> boolean_type at all, which is wrong;
[dcl.in