Boost logo

Boost :

Subject: Re: [boost] Current Guidance on Compiler Warnings?
From: Peter Dimov (lists_at_[hidden])
Date: 2018-11-26 23:02:08


Gavin Lambert wrote:
> On 27/11/2018 11:29, Steven Watanabe wrote:
> > signed integer overflow has undefined behavior. unsigned integers wrap.
> > This means that signed integers give the compiler more scope for
> > optimization and/or runtime checks.
>
> I'm not aware of any compilers that actually do that, ...

https://godbolt.org/z/QCgY9u


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk