
24 Nov
2018
24 Nov
'18
11:44 a.m.
On Friday, 23 November 2018 20:58:44 CET Emil Dotchevski via Boost wrote:
So you change that to:
if( static_cast<unsigned>(x) < f() )
I would change the opposite, I would do if( x < static_cast<int>(f())) then, if the type of `x` changed in the function, I will now get a new warning, and I can fix it. -- Best Jayesh Badwaik https://jayeshbadwaik.github.io