C++ Standard Library header files
From Cppreference
< cpp
C++ Standard Library |
---|
The interface of C++ standard library is defined by a set of files. These are as following:
Contents |
[edit] Utilities library
- <cstdlib> - General purpose utilities: program control, dynamic memory allocation, random numbers, sort and search
This section is incomplete - <csignal> - Functions and macro constants for signal management
- <csetjmp> - Macro (and function) that saves (and jumps) to an execution context
- <cstdarg> - Handling of variable length argument lists
- <typeinfo> - Runtime type information utilities
- <bitset> - std::bitset class template
- <functional> - Function objects, designed for use with the standard algorithms
- <utility> - Various utility components
- <ctime> - C-style time/date utilites
- <chrono> - C++ time utilites (since C++11)
- <cstddef> - typedefs for types such as size_t, NULL and others
- <initializer_list> - std::initializer_list class template (since C++11)
[edit] Dynamic memory management
- <new> - Low-level memory management utilities
- <memory> - Higher level memory management utilities
[edit] Numeric limits
- <climits> - limits of integral types
- <cfloat> - limits of float types
- <cstdint> - limits of other types
- <limits> - standardized way to query properties of fundamental types
[edit] Error handling
- <exception> - Exception handling utilities
- <stdexcept> - Standard exception objects
- <cassert> - Conditionally compiled macro that compares its argument to zero
- <system_error> - defines std::error_code, a platform-dependent error code
- <cerrno> - Macro containing the last error number
[edit] Strings library
- <cctype> - functions to determine the type contained in character data
- <cwctype> - functions for determining the type of wide character data
- <cstring> - various narrow character string handling functions
- <cwstring> - various wide character string handling functions
- <cwchar> - various wide and multibyte string handling functions
- <cuchar> - C-style Unicode character conversion functions (since C++11)
- <string> - std::basic_string class template
[edit] Containers library
- <array> - std::array container (since C++11)
- <vector> - std::vector container
- <deque> - std::deque container
- <list> - std::list container
- <forward_list> - std::forward_list container (since C++11)
- <set> - std::set and std::multiset associative containers
- <map> - std::map and std::multimap associative containers
- <unordered_set> - std::unordered_set and std::unordered_multiset unordered associative containers (since C++11)
- <unordered_map> - std::unordered_map and std::unordered_multimap unordered associative containers (since C++11)
- <stack> - std::stack container adaptor
- <queue> - std::queue and std::priority_queue container adaptors
[edit] Algorithms library
- <algorithm> - Algorithms that operate on containers
[edit] Iterators library
- <iterator> - Container iterators
[edit] Numerics library
- <cmath> - Common mathematics functions
- <complex> - Complex number type
- <valarray> - Class for representing and manipulating arrays of values
- <random> - Random number generators and distributions
- <numeric> - Numeric operations on values in containers
- <ratio> - Compile-time rational arithmetic (since C++11)
- <cfenv> - Floating-point environment access functions (since C++11)
[edit] Input/output library
- <iosfwd> - forward declarations of all objects in the input/output library
- <ios> - std::ios_base class, std::basic_ios class template and several typedefs
- <istream> - std::basic_istream class template and several typedefs
- <ostream> - std::basic_ostream class template and several typedefs
- <iostream> - std::basic_iostream class template and several typedefs
- <fstream> - std::basic_fstream, std::basic_ifstream, std::basic_ofstream class templates and several typedefs
- <sstream> - std::basic_stringstream, std::basic_istringstream, std::basic_ostringstream class templates and several typedefs
- <iomanip> - Helper functions to control the format or input and output
- <cstdio> - C-style input-output functions
[edit] Localization library
- <locale> - Localization utilities
- <clocale> - C localization utilities
- <codecvt> - Unicode conversion facilities (since C++11)
[edit] Regular Expressions library
[edit] Atomic Operations library
- <atomic> - Atomic operations library
[edit] Thread support library
- <thread> - std::thread class and supporting functions
- <mutex> - mutual exclusion primitives
- <future> - primitives for asynchronous computations