[ub] Sized integer types and char bits

Gabriel Dos Reis gdr at microsoft.com
Thu Oct 24 09:25:06 CEST 2013



| -----Original Message-----
| From: ub-bounces at open-std.org [mailto:ub-bounces at open-std.org] On Behalf Of
| Lawrence Crowl
| Sent: Thursday, October 24, 2013 2:15 AM
| To: c++std-ext at accu.org
| Cc: WG21 UB study group; Xavier Leroy
| Subject: Re: [ub] [c++std-ext-14579] Re: Sized integer types and char bits
| 
| On 10/23/13, Gabriel Dos Reis <gdr at microsoft.com> 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.

Do you have specific optimizations in mind?

| As near as I can tell, the difference between the
| two terms does not affect programs trying for maximum portability.

That is my impressions.

-- Gaby



More information about the ub mailing list