This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] New std::string implementation


On 14/11/14 16:32 +0000, Christopher Jefferson wrote:
Some (very small) questions / cleanups

1) Do you plan on supporting CXX11 ABI on C++03? There is some #if
__cplusplus < 201103L inside the new basic_string.

Yes, the intention is that you get the same std::string implementation
independent of the -std option you use, so that C++03 and C++11 code
is compatible and can be linked together.

So although the tag is named "cxx11" that refers to the fact that
this ABI change is required for C++11 conformance, not that it only
applies to code compiled with -std=c++11 or -std=gnu++11.

2) Is there a need for the #if 0 _M_mutate?

Oops, no, I meant to take that out. I'll do it before committing.

I tried bootstrapping on Mac OS X 10.10, and got lots of linking
issues, the relevant part is::

I might be missing some of the new instantiations, I'll look into
that.

Thanks for checking it!


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]