the c++ standard library can be categorized into two parts −
the standard function library − this library consists of general-purpose,stand-alone functions that are not part of any class. the function library is inherited from c.
the object oriented class library − this is a collection of classes and associated functions.
standard c++ library incorporates all the standard c libraries also, with small additions and changes to support type safety.
the standard function library
the standard function library is divided into the following categories −
- i/o,
- string and character handling,
- mathematical,
- time, date, and localization,
- dynamic allocation,
- miscellaneous,
- wide-character functions,
the object oriented class library
standard c++ object oriented library defines an extensive set of classes that provide support for a number of common activities, including i/o, strings, and numeric processing. this library includes the following −
- the standard c++ i/o classes
- the string class
- the numeric classes
- the stl container classes
- the stl algorithms
- the stl function objects
- the stl iterators
- the stl allocators
- the localization library
- exception handling classes
- miscellaneous support library