This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: Bugs/non-portable assumptions in libstdc++
- From: Chris Lattner <sabre at nondot dot org>
- To: Paolo Carlini <pcarlini at suse dot de>
- Cc: libstdc++ at gcc dot gnu dot org
- Date: Sat, 20 Nov 2004 21:13:20 -0600 (CST)
- Subject: Re: Bugs/non-portable assumptions in libstdc++
On Fri, 19 Nov 2004, Paolo Carlini wrote:
> > 2. Do you know of any other places in libstdc++ where this
> > 'optimization' (eliding the initialization) is done?
> Yes, for sure _S_empty_rep_storage in basic_string, most likely others...
Sorry for the duplicate email, but I forgot to point out that
_S_empty_rep_storage is a declared as an array of size_type, which does
not have a ctor, so it is not the case I'm talking about. My appologies
again for not being clear in my first mail.
-Chris
--
http://llvm.org/
http://nondot.org/sabre/