ammar26 Administrator
Number of posts : 18 Age : 34 Registration date : 2008-11-12
| Subject: Standard C++ library Reference 02/12/08, 06:17 pm | |
| The Standard C++ library consists of 51 headers. Of these, 16 constitute the Standard Template Library, or STL. These are indicated below with the notation (STL): -- (STL) for defining numerous templates that implement useful algorithms -- for defining a template class that administers sets of bits -- for defining a template class that supports complex arithmetic -- (STL) for defining a template class that implements a deque container -- for defining several functions that control exception handling -- for defining several iostreams template classes that manipulate external files -- (STL) for defining several templates that help construct predicates for the templates defined in and -- for declaring several iostreams manipulators that take an argument -- for defining the template class that serves as the base for many iostreams classes -- for declaring several iostreams template classes before they are necessarily defined -- for declaring the iostreams objects that manipulate the standard streams -- for defining the template class that performs extractions -- (STL) for defining several templates that help define and manipulate iterators -- for testing numeric type properties
-- (STL) for defining a template class that implements a doubly linked list container -- for defining several classes and templates that control locale-specific behavior, as in the iostreams classes -- (STL) for defining template classes that implement associative containers that map keys to values -- (STL) for defining several templates that allocate and free storage for various container classes -- for declaring several functions that allocate and free storage -- (STL) for defining several templates that implement useful numeric functions -- for defining the template class that performs insertions -- (STL) for defining a template class that implements a queue container -- (STL) for defining template classes that implement associative containers a singly linked list container -- for defining several iostreams template classes that manipulate string containers -- (STL) for defining a template class that implements a stack container -- for defining several classes useful for reporting exceptions -- for defining template classes that buffer iostreams operations -- for defining a template class that implements a string container -- for defining several iostreams classes that manipulate in-memory character sequences -- for defining class type_info, the result of the typeid operator -- (STL) for defining several templates of general utility -- for defining several classes and template classes that support value-oriented arrays -- (STL) for defining a template class that implements a vector container
The Standard C++ library works in conjunction with the headers from the Standard C library, sometimes with small alterations. The headers come in two forms, new (C++) and traditional (C). The new-form headers are:
-- for enforcing assertions when functions execute -- for performing complex arithmetic -- for classifying characters -- for testing error codes reported by library functions -- for controlling IEEE-style floating-point arithmetic -- for testing floating-point type properties -- for converting various integer types -- for programming in ISO 646 variant character sets -- for testing integer type properties -- for adapting to different cultural conventions -- for computing common mathematical functions -- for executing nonlocal goto statements -- for controlling various exceptional conditions -- for accessing a varying number of arguments -- for defining a convenient Boolean type name and constants -- for defining several useful types and macros -- for defining various integer types with size constraints -- for performing input and output -- for performing a variety of operations -- for manipulating several kinds of strings -- for converting between various time and date formats -- for manipulating wide streams and several kinds of strings -- for classifying wide characters | |
|