C++ Logo

sg12

Advanced search

Re: [ub] [c++std-ext-14579] Re: Sized integer types and char bits

From: Lawrence Crowl <Lawrence_at_[hidden]>
Date: Thu, 24 Oct 2013 00:14:30 -0700
On 10/23/13, Gabriel Dos Reis <gdr_at_[hidden]> wrote:
> For instance, what we lose if we go from undefined behavior to
> unspecified? E.g. the behavior on erroneous construct isn't unrestricted
> yet allow for tools to instrument and/or report?

I think we lose some optimization opportunity when switching from
undefined to unspecified, so we might want to be careful about where
we use each term. As near as I can tell, the difference between the
two terms does not affect programs trying for maximum portability.

-- 
Lawrence Crowl

Received on 2013-10-24 09:14:32