标准库的组成:
前言就到此为止。从最宏观的层面上看,C++标准库由十个部分组成:语言支持、诊断、通用工具、字符串、本地化、容器、迭代器、通用算法、数值算法和I/O。
头文件组成:
C++ 标准库一共包含 33 个C++ 头文件:
<algorithm>,
<bitset>, <complex>, <deque>,
<exception>, <fstream>, <functional>,
<iomanip>, <ios>, <iosfwd>, <iostream>, <istream>, <iterator>, <limits>, <list>,
<locale>, <map>, <memory>, <new>, <numeric>, <ostream>, <queue>, <set>, <sstream>,
<stack>, <stdexcept>, <streambuf>, <string>, <strstream>, <typeinfo>, <utility>,
<valarray>, <vector>
<iomanip>, <ios>, <iosfwd>, <iostream>, <istream>, <iterator>, <limits>, <list>,
<locale>, <map>, <memory>, <new>, <numeric>, <ostream>, <queue>, <set>, <sstream>,
<stack>, <stdexcept>, <streambuf>, <string>, <strstream>, <typeinfo>, <utility>,
<valarray>, <vector>
和 18 个 C的标准库头文件:
<cassert>,
<cctype>, <cerrno>, <cfloat>, <ciso646>,
<climits>, <clocale>, <cmath>,
<csetjmp>, <csignal>, <cstdarg>, <cstddef>, <cstdio>, <cstdlib>, <cstring>, <ctime>,
<cwchar>, <cwctype>
<csetjmp>, <csignal>, <cstdarg>, <cstddef>, <cstdio>, <cstdlib>, <cstring>, <ctime>,
<cwchar>, <cwctype>
类型定义(Types):<cstddef>
实现特征(Implementation properties ):<limits> , <climits> , <cfloat>
启动与终止(Start and termination ):<cstdlib>
动态内存管理(Dynamic memory management ):<new>
类型认证(Type identification ):<typeinfo>
异常处理(Exception handling ):<exception>
其它运行时支持(Other runtime support ):<cstdarg>, <csetjmp> , <ctime> , <csignal> , <cstdlib>
实现特征(Implementation properties ):<limits> , <climits> , <cfloat>
启动与终止(Start and termination ):<cstdlib>
动态内存管理(Dynamic memory management ):<new>
类型认证(Type identification ):<typeinfo>
异常处理(Exception handling ):<exception>
其它运行时支持(Other runtime support ):<cstdarg>, <csetjmp> , <ctime> , <csignal> , <cstdlib>