Skip Navigation Links | |
Exit Print View | |
Oracle Solaris Studio 12.3: C++ User's Guide Oracle Solaris Studio 12.3 Information Library |
3. Using the C++ Compiler Options
6. Creating and Using Templates
9. Improving Program Performance
10. Building Multithreaded Programs
12.1 C++ Standard Library Header Files
12.2.1 Redistribution and Supported STLport Libraries
12.3 Apache stdcxx Standard Library
When compiling in default (standard) mode, the compiler has access to the complete library specified by the C++ standard. The library components include what is informally known as the Standard Template Library (STL), as well as the following components:
String classes
Numeric classes
Standard stream I/O classes
Basic memory allocation
Exception classes
Runtime type information
The term STL does not have a formal definition, but it is usually understood to include containers, iterators, and algorithms. The following subset of the standard library headers can be thought of as comprising the STL:
<algorithm>
<deque>
<iterator>
<list>
<map>
<memory>
<queue>
<set>
<stack>
<utility>
<vector>
The C++ standard library (libCstd) is based on the RogueWave Standard C++ Library, Version 2. This library is the default.
The C++ compiler also supports STLport’s Standard Library implementation version 4.5.3. libCstd is still the default library, but STLport’s product is available as an alternative. See 12.2 STLport for more information.
If you need to use your own version of the C++ standard library instead of one of the versions that is supplied with the compiler, you can do so by specifying the -library=no%Cstd option. Replacing the standard library that is distributed with the compiler is risky, and good results are not guaranteed. For more information, see 11.7 Replacing the C++ Standard Library.