24 Nov
2018
24 Nov
'18
6:36 p.m.
On Sat, Nov 24, 2018 at 3:44 AM Jayesh Badwaik via Boost < boost@lists.boost.org> wrote:
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.
What warning will you get?