This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: C++0x library ABI
- From: Benjamin Kosnik <bkoz at redhat dot com>
- To: Jason Merrill <jason at redhat dot com>
- Cc: libstdc++ <libstdc++ at gcc dot gnu dot org>
- Date: Mon, 20 Jul 2009 09:34:04 -0700
- Subject: Re: C++0x library ABI
- References: <200907160806.BAA10914@hpcll183.cup.hp.com> <29bd08b70907160741s477a7683w5103cbca501e10@mail.gmail.com> <4A5F554A.40603@codesourcery.com> <29bd08b70907161300w680952d7sdd7e1d24520dac0b@mail.gmail.com> <F11683A7-58DE-4FE0-89B3-A47EA94859B3@edg.com> <206fcf960907161601g244e375fu4cb7b387e2331eeb@mail.gmail.com> <4A607FDF.3080306@redhat.com>
> 1) Any plans to move to non-refcounted strings at some point?
Yes. The plan is to switch std::string to ext/vstring, which was first
proposed and implemented on the libstdcxx_so_7-branch years ago. Frankly
I think we need to do this to be C++0x standards conformant,
specifically the requirements on string in C++0x.
> 2) LWG is moving this week to require container size() to be O(1),
> which is not true of our std::list.
FWIW, this has been a longstanding request by certain users. There are
certainly other changes to containers that are worth considering.
-benjamin