Prepending A Std::string / Std::wstring With Itself Is Resulting In The Wrong Value Using STLPort

(Doc ID 2252638.1)

Last updated on APRIL 06, 2017

Applies to:

Oracle Solaris Studio - Version 12.5 and later
Information in this document applies to any platform.


On : Solaris Studio 12.5, c++

std::string or std::wstring insert and replace methods don't work as expected when using STLPort with compiler option -library=stlport4 .

Prepending a std::string or std::wstring with itself is resulting in the wrong value when using STLPort with the Solaris Studio C++ 12.5 compiler.

std::string and std::wstring are expected to behave consistently when using STLPort


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms