Using __gnu_cxx::__vstring everywhere

Oleg Smolsky oleg.smolsky@riverbed.com
Wed Dec 18 04:14:00 GMT 2013


OK I've replaced std::string with a different (conforming) 
implementation which happens to use C++11 features. This is fine for our 
usecase as all C++ users specify -std=c++11.

My question is as follows: is it possible to force g++ to default to 
that dialect? What do I need to hack?

Thanks a lot,
Oleg.

On 2013-12-05 09:11, Oleg Smolsky wrote:
> Hi all, is there a documented way to replace std::string with 
> __gnu_cxx::__vstring during the compiler configuration step? If not, 
> what would be the least intrusive way to hack it? And then, how do I 
> verify the the correctness of the hack?
>
> P.S. I don't care about compatibility as we install the versioned .so 
> into a distinct location.
>
> Thanks in advance,
> Oleg.



More information about the Libstdc++ mailing list