C++ 標準程式庫標頭檔
依類別分類的 C++ 標準程式庫和延伸模組標頭檔。
11 在 C++11 標準中新增。
14 在 C++14 標準中新增。
17 在 C++17 標準中新增。
20 在 C++20 標準草稿中新增。
C ++17 標準中已被取代。
b 在 C++20 標準草稿中移除。
c 在 C++98 標準中已被取代。
類別 |
標頭 |
演算法 |
<algorithm> |
C 程式庫包裝函式 |
<cassert> , <cctype> , <cerrno> , <cfenv> , <cfloat> , <cinttypes> , <ciso646> , <climits> , <clocale> , <cmath> , <csetjmp> , <csignal> , <cstdarg> , <cstdbool> , <cstddef> , <cstdint> , <cstdio> , <cstdlib> , <cstring> , <ctgmath> , <ctime> , <cwchar> , <cwctype> |
容器 |
|
時序容器 |
<array> , <deque> , <forward_list> , <list> , <vector> |
已排序的關聯容器 |
<map> , <set> |
未排序的關聯容器 |
<unordered_map> , <unordered_set> |
配接器容器 |
<queue> , <stack> |
錯誤和例外狀況處理 |
<exception> , <stdexcept> , <system_error> |
I/O 和格式設定 |
<filesystem> , <fstream> , <iomanip> , <ios> , <iosfwd> , <iostream> , <istream> , <ostream> , <sstream> , <streambuf> , <strstream> |
迭代器 |
<iterator> |
當地語系化 |
<codecvt> , <cvt/wbuffer> , <cvt/wstring> , <locale> |
數學和數值 |
<complex> , <limits> , <numeric> , <random> , <ratio> , <valarray> |
記憶體管理 |
<allocators> , <memory> , <new> , <scoped_allocator> |
多執行緒 |
<atomic> , <condition_variable> , <future> , <mutex> , <shared_mutex> , <thread> |
其他公用程式 |
<bitset> , <chrono> , <functional> , <initializer_list> , <tuple> , <type_traits> , <typeinfo> , <typeindex> , <utility> |
字串和字元資料 |
<regex> , <string> , <string_view> |
另請參閱
使用 C++ 程式庫標頭
C++ 標準程式庫