|
1 | 1 | ---
|
2 |
| -title: "C++ Standard Library Header Files" |
3 |
| -ms.date: "11/04/2016" |
| 2 | +title: "C++ standard library header files" |
| 3 | +ms.date: "07/12/2019" |
4 | 4 | helpviewer_keywords: ["header files, C++ Standard Library", "C++ Standard Library, header files"]
|
5 | 5 | ms.assetid: e7bf497a-0f63-48d0-9b54-cb0eef4073c4
|
6 | 6 | ---
|
7 |
| -# C++ Standard Library Header Files |
| 7 | +# C++ standard library header files |
8 | 8 |
|
9 |
| -Header files for the C++ Standard Library and extensions, by category. |
| 9 | +Header files for the C++ standard library and extensions, by category. |
10 | 10 |
|
11 | 11 | ## Headers by category
|
12 | 12 |
|
| 13 | +::: moniker range=">=vs-2017" |
| 14 | + |
| 15 | +| Category | Headers | |
| 16 | +| - | - | |
| 17 | +| [Algorithms](../cpp/algorithms-modern-cpp.md) | [\<algorithm>](algorithm.md), [\<cstdlib>](cstdlib.md), [\<numeric>](numeric.md) | |
| 18 | +| Atomic operations | [\<atomic>](atomic.md)<sup>11</sup> | |
| 19 | +| C library wrappers | [\<cassert>](cassert.md), [\<ccomplex>](ccomplex.md)<sup>11 a b</sup>, [\<cctype>](cctype.md), [\<cerrno>](cerrno.md), [\<cfenv>](cfenv.md)<sup>11</sup>, [\<cfloat>](cfloat.md), [\<cinttypes>](cinttypes.md)<sup>11</sup>, [\<ciso646>](ciso646.md)<sup>b</sup>, [\<climits>](climits.md), [\<clocale>](clocale.md), [\<cmath>](cmath.md), [\<csetjmp>](csetjmp.md), [\<csignal>](csignal.md), [\<cstdalign>](cstdalign.md)<sup>11 a b</sup>, [\<cstdarg>](cstdarg.md), [\<cstdbool>](cstdbool.md)<sup>11 a b</sup>, [\<cstddef>](cstddef.md), [\<cstdint>](cstdint.md)<sup>11</sup>, [\<cstdio>](cstdio.md), [\<cstdlib>](cstdlib.md), [\<cstring>](cstring.md), [\<ctgmath>](ctgmath.md)<sup>11 a b</sup>, [\<ctime>](ctime.md), [\<cuchar>](cuchar.md)<sup>11</sup>, [\<cwchar>](cwchar.md), [\<cwctype>](cwctype.md) | |
| 20 | +| Concepts | \<concepts><sup>20</sup> | |
| 21 | +| [Containers](../cpp/containers-modern-cpp.md) | | |
| 22 | +| Sequence containers | [\<array>](array.md)<sup>11</sup>, [\<deque>](deque.md), [\<forward_list>](forward-list.md)<sup>11</sup>, [\<list>](list.md), [\<vector>](vector.md) | |
| 23 | +| Ordered associative containers| [\<map>](map.md), [\<set>](set.md) | |
| 24 | +| Unordered associative containers | [\<unordered_map>](unordered-map.md)<sup>11</sup>, [\<unordered_set>](unordered-set.md)<sup>11</sup> | |
| 25 | +| Container adaptors | [\<queue>](queue.md), [\<stack>](stack.md) | |
| 26 | +| Container views | \<span><sup>20</sup> | |
| 27 | +| [Errors and exception handling](../cpp/errors-and-exception-handling-modern-cpp.md) | [\<cassert>](cassert.md), [\<exception>](exception.md), [\<stdexcept>](stdexcept.md), [\<system_error>](system-error.md)<sup>11</sup> | |
| 28 | +| General utilities | \<any><sup>17</sup>, [\<bitset>](bitset.md), \<charconv><sup>17</sup>, [\<cstdlib>](cstdlib.md), \<execution><sup>17</sup>, [\<functional>](functional.md), [\<memory>](memory.md), \<memory_resource><sup>17</sup>, \<optional><sup>17</sup>, [\<ratio>](ratio.md)<sup>11</sup>, [\<scoped_allocator>](scoped-allocator.md)<sup>11</sup>, [\<tuple>](tuple.md)<sup>11</sup>, [\<type_traits>](type-traits.md)<sup>11</sup>, [\<typeindex>](typeindex.md)<sup>11</sup>, [\<utility>](utility.md), \<variant><sup>17</sup> | |
| 29 | +| [I/O and formatting](../cpp/string-and-i-o-formatting-modern-cpp.md) | [\<cinttypes>](cinttypes.md)<sup>11</sup>, [\<cstdio>](cstdio.md), [\<filesystem>](filesystem.md)<sup>17</sup>, [\<fstream>](fstream.md), [\<iomanip>](iomanip.md), [\<ios>](ios.md), [\<iosfwd>](iosfwd.md), [\<iostream>](iostream.md), [\<istream>](istream.md), [\<ostream>](ostream.md), [\<sstream>](sstream.md), [\<streambuf>](streambuf.md), [\<strstream>](strstream.md)<sup>c</sup>, \<syncstream><sup>20</sup> | |
| 30 | +| Iterators | [\<iterator>](iterator.md) | |
| 31 | +| Language support | [\<cfloat>](cfloat.md), [\<climits>](climits.md), [\<codecvt>](codecvt.md)<sup>11 a</sup>, \<compare><sup>20</sup>, \<contract><sup>20</sup>, \<coroutine><sup>20</sup>, [\<csetjmp>](csetjmp.md), [\<csignal>](csignal.md), [\<cstdarg>](cstdarg.md), [\<cstddef>](cstddef.md), [\<cstdint>](cstdint.md)<sup>11</sup>, [\<cstdlib>](cstdlib.md), [\<exception>](exception.md), [\<initializer_list>](initializer-list.md)<sup>11</sup>, [\<limits>](limits.md), [\<new>](new.md), [\<typeinfo>](typeinfo.md), \<version><sup>20</sup> | |
| 32 | +| Localization | [\<clocale>](clocale.md), [\<codecvt>](codecvt.md)<sup>11 a</sup>, [\<cvt/wbuffer>](cvt-wbuffer.md), [\<cvt/wstring>](cvt-wstring.md), [\<locale>](locale.md) | |
| 33 | +| Math and numerics | \<bit><sup>20</sup>, [\<cfenv>](cfenv.md)<sup>11</sup>, [\<cmath>](cmath.md), [\<complex>](complex.md), [\<cstdlib>](cstdlib.md), [\<limits>](limits.md), [\<numeric>](numeric.md), [\<random>](random.md)<sup>11</sup>, [\<ratio>](ratio.md)<sup>11</sup>, [\<valarray>](valarray.md) | |
| 34 | +| [Memory management](../cpp/smart-pointers-modern-cpp.md) | [\<allocators>](allocators-header.md), [\<memory>](memory.md), \<memory_resource><sup>17</sup>, [\<new>](new.md), [\<scoped_allocator>](scoped-allocator.md)<sup>11</sup> | |
| 35 | +| Multithreading | [\<atomic>](atomic.md)<sup>11</sup>, [\<condition_variable>](condition-variable.md)<sup>11</sup>, [\<future>](future.md)<sup>11</sup>, [\<mutex>](mutex.md)<sup>11</sup>, [\<shared_mutex>](shared-mutex.md)<sup>14</sup>, [\<thread>](thread.md)<sup>11</sup> | |
| 36 | +| Ranges | \<ranges><sup>20</sup> | |
| 37 | +| Regular expressions | [\<regex>](regex.md)<sup>11</sup> | |
| 38 | +| Strings and character data | [\<cctype>](cctype.md), [\<cstdlib>](cstdlib.md), [\<cstring>](cstring.md), [\<cuchar>](cuchar.md)<sup>11</sup>, [\<cwchar>](cwchar.md), [\<cwctype>](cwctype.md), [\<regex>](regex.md)<sup>11</sup>, [\<string>](string.md), [\<string_view>](string-view.md)<sup>17</sup> | |
| 39 | +| Time | [\<chrono>](chrono.md)<sup>11</sup>, [\<ctime>](ctime.md) | |
| 40 | + |
| 41 | +<sup>11</sup> Added in the C++11 standard.\ |
| 42 | +<sup>14</sup> Added in the C++14 standard.\ |
| 43 | +<sup>17</sup> Added in the C++17 standard.\ |
| 44 | +<sup>20</sup> Added in the draft C++20 standard.\ |
| 45 | +<sup>a</sup> Deprecated in the C++17 standard.\ |
| 46 | +<sup>b</sup> Removed in the draft C++20 standard.\ |
| 47 | +<sup>c</sup> Deprecated in the C++98 standard. |
| 48 | + |
| 49 | +::: moniker-end |
| 50 | + |
| 51 | +::: moniker range="vs-2015" |
| 52 | + |
13 | 53 | |Category|Headers|
|
14 | 54 | |-|-|
|
15 | 55 | |[Algorithms](../cpp/algorithms-modern-cpp.md)|[\<algorithm>](algorithm.md)|
|
16 | 56 | |C library wrappers|[\<cassert>](cassert.md), [\<cctype>](cctype.md), [\<cerrno>](cerrno.md), [\<cfenv>](cfenv.md), [\<cfloat>](cfloat.md), [\<cinttypes>](cinttypes.md), [\<ciso646>](ciso646.md), [\<climits>](climits.md), [\<clocale>](clocale.md), [\<cmath>](cmath.md), [\<csetjmp>](csetjmp.md), [\<csignal>](csignal.md), [\<cstdarg>](cstdarg.md), [\<cstdbool>](cstdbool.md), [\<cstddef>](cstddef.md), [\<cstdint>](cstdint.md), [\<cstdio>](cstdio.md), [\<cstdlib>](cstdlib.md), [\<cstring>](cstring.md), [\<ctgmath>](ctgmath.md), [\<ctime>](ctime.md), [\<cwchar>](cwchar.md), [\<cwctype>](cwctype.md)|
|
17 | 57 | |[Containers](../cpp/containers-modern-cpp.md)||
|
18 |
| -|Sequence containers|[\<array>](array.md), [\<deque>](deque.md), [<forward_list>](forward-list.md), [\<list>](list.md), [\<vector>](vector.md)| |
| 58 | +|Sequence containers|[\<array>](array.md), [\<deque>](deque.md), [\<forward_list>](forward-list.md), [\<list>](list.md), [\<vector>](vector.md)| |
19 | 59 | |Ordered associative containers| [\<map>](map.md), [\<set>](set.md)|
|
20 |
| -|Unordered associative containers|[<unordered_map>](unordered-map.md), [<unordered_set>](unordered-set.md)| |
| 60 | +|Unordered associative containers|[\<unordered_map>](unordered-map.md), [\<unordered_set>](unordered-set.md)| |
21 | 61 | |Adaptor containers|[\<queue>](queue.md), [\<stack>](stack.md)|
|
22 |
| -|[Errors and exception handling](../cpp/errors-and-exception-handling-modern-cpp.md)|[\<exception>](exception.md), [\<stdexcept>](stdexcept.md), [<system_error>](system-error.md)| |
| 62 | +|[Errors and exception handling](../cpp/errors-and-exception-handling-modern-cpp.md)|[\<exception>](exception.md), [\<stdexcept>](stdexcept.md), [\<system_error>](system-error.md)| |
23 | 63 | |[I/O and formatting](../cpp/string-and-i-o-formatting-modern-cpp.md)|[\<filesystem>](filesystem.md), [\<fstream>](fstream.md), [\<iomanip>](iomanip.md), [\<ios>](ios.md), [\<iosfwd>](iosfwd.md), [\<iostream>](iostream.md), [\<istream>](istream.md), [\<ostream>](ostream.md), [\<sstream>](sstream.md), [\<streambuf>](streambuf.md), [\<strstream>](strstream.md)|
|
24 | 64 | |Iterators|[\<iterator>](iterator.md)|
|
25 | 65 | |Localization|[\<codecvt>](codecvt.md), [\<cvt/wbuffer>](cvt-wbuffer.md), [\<cvt/wstring>](cvt-wstring.md), [\<locale>](locale.md)|
|
26 | 66 | |Math and numerics|[\<complex>](complex.md), [\<limits>](limits.md), [\<numeric>](numeric.md), [\<random>](random.md), [\<ratio>](ratio.md), [\<valarray>](valarray.md)|
|
27 |
| -|[Memory Management](../cpp/smart-pointers-modern-cpp.md)|[\<allocators>](allocators-header.md), [\<memory>](memory.md), [\<new>](new.md), [<scoped_allocator>](scoped-allocator.md)| |
28 |
| -|Multithreading|[\<atomic>](atomic.md), [<condition_variable>](condition-variable.md), [\<future>](future.md), [\<mutex>](mutex.md), [<shared_mutex>](shared-mutex.md), [\<thread>](thread.md)| |
29 |
| -|Other utilities|[\<bitset>](bitset.md), [\<chrono>](chrono.md), [\<functional>](functional.md), [<initializer_list>](initializer-list.md), [\<tuple>](tuple.md), [<type_traits>](type-traits.md), [\<typeinfo>](typeinfo.md), [\<typeindex>](typeindex.md), [\<utility>](utility.md)| |
| 67 | +|[Memory Management](../cpp/smart-pointers-modern-cpp.md)|[\<allocators>](allocators-header.md), [\<memory>](memory.md), [\<new>](new.md), [\<scoped_allocator>](scoped-allocator.md)| |
| 68 | +|Multithreading|[\<atomic>](atomic.md), [\<condition_variable>](condition-variable.md), [\<future>](future.md), [\<mutex>](mutex.md), [\<shared_mutex>](shared-mutex.md), [\<thread>](thread.md)| |
| 69 | +|Other utilities|[\<bitset>](bitset.md), [\<chrono>](chrono.md), [\<functional>](functional.md), [\<initializer_list>](initializer-list.md), [\<tuple>](tuple.md), [\<type_traits>](type-traits.md), [\<typeinfo>](typeinfo.md), [\<typeindex>](typeindex.md), [\<utility>](utility.md)| |
30 | 70 | |Strings and character data|[\<regex>](regex.md), [\<string>](string.md), [\<string_view>](string-view.md)
|
31 | 71 |
|
| 72 | +::: moniker-end |
| 73 | + |
32 | 74 | ## See also
|
33 | 75 |
|
34 |
| -[Using C++ Library Headers](using-cpp-library-headers.md)<br/> |
35 |
| -[C++ Standard Library](cpp-standard-library-reference.md)<br/> |
| 76 | +[Using C++ library headers](using-cpp-library-headers.md)\ |
| 77 | +[C++ standard library](cpp-standard-library-reference.md) |
0 commit comments