|
Boost : |
Subject: Re: [boost] Current Guidance on Compiler Warnings?
From: Emil Dotchevski (emildotchevski_at_[hidden])
Date: 2018-11-27 20:10:48
On Tue, Nov 27, 2018 at 11:59 AM Andrey Semashev via Boost <
boost_at_[hidden]> wrote:
> Having the wrap semantics would be useful, at least for being able to
> portably detect an overflow. That ability alone allows to implement
> whatever other behavior you might need. OTOH, having overflow undefined
> doesn't allow you to do anything with it.
You are right, there are real, tangible benefits to using languages that
define behavior for all operations. Nobody is arguing otherwise.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk