String package - not supported; use basic_string package (CrUn249)
The String package exists on Tru64 UNIX but not on HP-UX. However, a replacement technology exists in the basic_string package.
The class library String class is pre-ANSI, based on the AT&T C++ Standard Library Extension Release 1.0 dated around 1990. HP-UX does not support this.
String s = "Hello, world!";
Use the basic_string class to achieve similar results.
The correct way for applications to work with class library String class functions is to use the ANSI basic_string class. Note that the capabilities of the basic_string class may not be exactly the same as the String class. The basic_string class is available on both Tru64 UNIX and HP-UX.
By default, aCC on Itanium®-based systems requires that the ANSI names be qualified with std:: or that the std namespace be specified with a using-declaration or using-directive. Tru64 UNIX does not require that by default.
std::string s = "Hello, world!";
||any HP-UX 11i version