My Oracle Support Banner

Prepending A Std::string / Std::wstring With Itself Is Resulting In The Wrong Value Using STLPort (Doc ID 2252638.1)

Last updated on OCTOBER 07, 2022

Applies to:

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

Symptoms

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 .

ACTUAL BEHAVIOR
---------------
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.

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

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.