мета-данные страницы
  •  

Различия

Показаны различия между двумя версиями страницы.

Ссылка на это сравнение

Следующая версия
Предыдущая версия
cpp:sl_cpp [2025/03/17 12:36] – создано radi0devcpp:sl_cpp [2025/11/09 12:07] (текущий) – внешнее изменение A User Not Logged in
Строка 1: Строка 1:
-====== Стандартная библиотека C++ ======+~~NOCACHE~~ 
 + 
 +====== стандартная библиотека C++ ====== 
 + 
 +==== C Library ==== 
 + 
 +Стандартная библиотека %%C++%% включает в себя спецификации стандарта ISO C90 из стандартной библиотеки C 
 + 
 +^ Заголовок ^ Стандарт ^ Описание ^ 
 +| <assert.h> | #@CPP98_HTML@# | Behaves same as <cassert>
 +| <ctype.h> | #@CPP98_HTML@# | Behaves as if each name from <cctype> is placed in global namespace | 
 +| <errno.h> | #@CPP98_HTML@# | Behaves same as <cerrno>
 +| <fenv.h> | #@CPP11_HTML@# | Behaves as if each name from <cfenv> is placed in global namespace | 
 +| <float.h> | #@CPP98_HTML@# | Behaves same as <cfloat>
 +| <inttypes.h> | #@CPP11_HTML@# | Behaves as if each name from <cinttypes> is placed in global namespace | 
 +| <limits.h> | #@CPP98_HTML@# | Behaves same as <climits>
 +| <locale.h> | #@CPP98_HTML@# | Behaves as if each name from <clocale> is placed in global namespace | 
 +| <math.h> | #@CPP98_HTML@# | Behaves as if each name from <cmath> is placed in global namespace, except for names of mathematical special functions | 
 +| <setjmp.h> | #@CPP98_HTML@# | Behaves as if each name from <csetjmp> is placed in global namespace | 
 +| <signal.h> | #@CPP98_HTML@# | Behaves as if each name from <csignal> is placed in global namespace | 
 +| <stdarg.h> | #@CPP98_HTML@# | Behaves as if each name from <cstdarg> is placed in global namespace | 
 +| <stddef.h> | #@CPP98_HTML@# | Behaves as if each name from <cstddef> is placed in global namespace, except for names of std::byte and related functions | 
 +| <stdint.h> | #@CPP11_HTML@# | Behaves as if each name from <cstdint> is placed in global namespace | 
 +| <stdio.h> | #@CPP98_HTML@# | Behaves as if each name from <cstdio> is placed in global namespace | 
 +| <stdlib.h> | #@CPP98_HTML@# | Behaves as if each name from <cstdlib> is placed in global namespace | 
 +| <string.h> | #@CPP98_HTML@# | Behaves as if each name from <cstring> is placed in global namespace | 
 +| <time.h> | #@CPP98_HTML@# | Behaves as if each name from <ctime> is placed in global namespace | 
 +| <uchar.h> | #@CPP11_HTML@# | Behaves as if each name from <cuchar> is placed in global namespace | 
 +| <wchar.h> | #@CPP98_HTML@# | Behaves as if each name from <cwchar> is placed in global namespace | 
 +| <wctype.h> | #@CPP98_HTML@# | Behaves as if each name from <cwctype> is placed in global namespace | 
 +| Специальные заголовки совместимости с C ||| 
 +| <stdatomic.h> | #@CPP23_HTML@# | Defines _Atomic and provides corresponding components in the C standard library | 
 +| <stdbit.h> | #@CPP26_HTML@# | Provides corresponding components in the C standard library | 
 +| <stdckdint.h> | #@CPP26_HTML@# | Provides corresponding components in the C standard library | 
 +| Пустые заголовки ||| 
 +| <ccomplex> | #@CPP11_HTML@#\\ устарел в #@CPP17_HTML@# \\ удален в #@CPP20_HTML@# | Simply includes the header <complex>
 +| <complex.h> | #@CPP11_HTML@# | Simply includes the header <complex>
 +| <ctgmath> | #@CPP11_HTML@#\\ устарел в #@CPP17_HTML@# \\ удален в #@CPP20_HTML@# | Simply includes the headers <complex> and <cmath>: the overloads equivalent to the contents of the C header <tgmath.h> are already provided by those headers | 
 +| <tgmath.h> | #@CPP11_HTML@# | Simply includes the headers <complex> and <cmath>
 +| Бесполезные заголовки ||| 
 +| <ciso646> | #@CPP98_HTML@#\\ удален в #@CPP20_HTML@# | Empty header. The macros that appear in iso646.h in C are keywords in %%C++%% | 
 +| <cstdalign> | #@CPP11_HTML@#\\ устарел в #@CPP17_HTML@# \\ удален в #@CPP20_HTML@# | Defines one compatibility macro constant | 
 +| <cstdbool> | #@CPP11_HTML@#\\ устарел в #@CPP17_HTML@# \\ удален в #@CPP20_HTML@# | Defines one compatibility macro constant | 
 +| <iso646.h> | #@CPP98_HTML@# | Has no effect | 
 +| <stdalign.h> | #@CPP11_HTML@# | Defines one compatibility macro constant | 
 +| <stdbool.h> | #@CPP11_HTML@# | Defines one compatibility macro constant | 
 + 
 + 
 +^ Заголовок ^ Стандарт ^ Описание ^ 
 +| <cstdlib> | #@CPP98_HTML@# | General purpose utilities: program control, dynamic memory allocation, random numbers, sort and search | 
 +| <execution> | #@CPP17_HTML@# | Predefined execution policies for parallel versions of the algorithms and execution control components (since C++26) | 
 + 
 +^ Заголовок ^ Стандарт ^ Описание ^ 
 +| <cfloat> | #@CPP98_HTML@# | Limits of floating-point types | 
 +| <climits> | #@CPP98_HTML@# | Limits of integral types | 
 +| <compare> | #@CPP20_HTML@# | Three-way comparison operator support | 
 +| <contracts> | #@CPP26_HTML@# | Contracts support library | 
 +| <coroutine> | #@CPP20_HTML@# | Coroutine support library | 
 +| <csetjmp> | #@CPP98_HTML@# | Macro (and function) that saves (and jumps) to an execution context | 
 +| <csignal> | #@CPP98_HTML@# | Functions and macro constants for signal management | 
 +| <cstdarg> | #@CPP98_HTML@# | Handling of variable length argument lists | 
 +| <cstddef> | #@CPP98_HTML@# | Standard macros and typedefs | 
 +| <cstdint> | #@CPP11_HTML@# | Fixed-width integer types and limits of other types | 
 +| <exception> | #@CPP98_HTML@# | Exception handling utilities | 
 +| <initializer_list> | #@CPP11_HTML@# | std::initializer_list class template | 
 +| <limits> | #@CPP98_HTML@# | Query properties of arithmetic types | 
 +| <new> | #@CPP98_HTML@# | Low-level memory management utilities | 
 +| <source_location> | #@CPP20_HTML@# | Supplies means to obtain source code location | 
 +| <stdfloat> | #@CPP23_HTML@# | Fixed-width floating-point types | 
 +| <typeindex> | #@CPP11_HTML@# | std::type_index | 
 +| <typeinfo> | #@CPP98_HTML@# | Runtime type information utilities | 
 +| <version> | #@CPP20_HTML@# | Supplies macros for verifying implementation status of library | 
 + 
 +^ Заголовок ^ Стандарт ^ Описание ^ 
 +| <concepts> | #@CPP20_HTML@# | Fundamental library concepts | 
 + 
 +^ Заголовок ^ Стандарт ^ Описание ^ 
 +| <cassert> | #@CPP98_HTML@# | Conditionally compiled macro that compares its argument to zero | 
 +| <cerrno> | #@CPP98_HTML@# | Macro containing the last error number | 
 +| <debugging> | #@CPP26_HTML@# | Debugging library | 
 +| <stacktrace> | #@CPP23_HTML@# | Stacktrace library | 
 +| <stdexcept> | #@CPP98_HTML@# | Standard exception types | 
 +| <system_error> | #@CPP11_HTML@# | Defines std::error_code, a platform-dependent error code | 
 + 
 +^ Заголовок ^ Стандарт ^ Описание ^ 
 +| <memory> | #@CPP98_HTML@# | High-level memory management utilities | 
 +| <memory_resource> | #@CPP17_HTML@# | Polymorphic allocators and memory resources | 
 +| <scoped_allocator> | #@CPP11_HTML@# | Nested allocator class | 
 + 
 +^ Заголовок ^ Стандарт ^ Описание ^ 
 +| <ratio> | #@CPP11_HTML@# | Compile-time rational arithmetic | 
 +| <type_traits> | #@CPP11_HTML@# | Compile-time type information utilities | 
 + 
 +^ Заголовок ^ Стандарт ^ Описание ^ 
 +| <any> | #@CPP17_HTML@# | std::any class | 
 +| <bit> | #@CPP20_HTML@# | Bit manipulation functions | 
 +| <bitset> | #@CPP98_HTML@# | std::bitset class template | 
 +| <expected> | #@CPP23_HTML@# | std::expected class template | 
 +| <functional> | #@CPP98_HTML@# | Function objects, Function invocations, Bind operations and Reference wrappers | 
 +| <optional> | #@CPP17_HTML@# | std::optional class template | 
 +| <tuple> | #@CPP11_HTML@# | std::tuple class template | 
 +| <utility> | #@CPP98_HTML@# | Various utility components | 
 +| <variant> | #@CPP17_HTML@# | std::variant class template | 
 + 
 +^ Заголовок ^ Стандарт ^ Описание ^ 
 +| <array> | #@CPP11_HTML@# | std::array container | 
 +| <deque> | #@CPP98_HTML@# | std::deque container | 
 +| <flat_map> | #@CPP23_HTML@# | std::flat_map and std::flat_multimap container adaptors | 
 +| <flat_set> | #@CPP23_HTML@# | std::flat_set and std::flat_multiset container adaptors | 
 +| <forward_list> | #@CPP11_HTML@# | std::forward_list container | 
 +| <hive> | #@CPP26_HTML@# | std::hive container | 
 +| <inplace_vector> | #@CPP26_HTML@# | std::inplace_vector container | 
 +| <list> | #@CPP98_HTML@# | std::list container | 
 +| <map> | #@CPP98_HTML@# | std::map and std::multimap associative containers | 
 +| <mdspan> | #@CPP23_HTML@# | std::mdspan view | 
 +| <queue> | #@CPP98_HTML@# | std::queue and std::priority_queue container adaptors | 
 +| <set> | #@CPP98_HTML@# | std::set and std::multiset associative containers | 
 +| <span> | #@CPP20_HTML@# | std::span view | 
 +| <stack> | #@CPP98_HTML@# | std::stack container adaptor | 
 +| <unordered_map> | #@CPP11_HTML@# | std::unordered_map and std::unordered_multimap unordered associative containers | 
 +| <unordered_set> | #@CPP11_HTML@# | std::unordered_set and std::unordered_multiset unordered associative containers | 
 +| <vector> | #@CPP98_HTML@# | std::vector container | 
 + 
 +^ Заголовок ^ Стандарт ^ Описание ^ 
 +| <iterator> | #@CPP98_HTML@# | Range iterators | 
 + 
 +^ Заголовок ^ Стандарт ^ Описание ^ 
 +| <generator> | #@CPP23_HTML@# | std::generator class template | 
 +| <ranges> | #@CPP20_HTML@# | Range access, primitives, requirements, utilities and adaptors | 
 + 
 +^ Заголовок ^ Стандарт ^ Описание ^ 
 +| <algorithm> | #@CPP98_HTML@# | Algorithms that operate on ranges | 
 +| <numeric> | #@CPP98_HTML@# | Numeric operations on values in ranges | 
 + 
 +^ Заголовок ^ Стандарт ^ Описание ^ 
 +| <cstring> | #@CPP98_HTML@# | Various narrow character string handling functions | 
 +| <string> | #@CPP98_HTML@# | std::basic_string class template | 
 +| <string_view> | #@CPP17_HTML@# | std::basic_string_view class template | 
 + 
 +^ Заголовок ^ Стандарт ^ Описание ^ 
 +| <cctype> | #@CPP98_HTML@# | Functions to determine the category of narrow characters | 
 +| <charconv> | #@CPP17_HTML@# | std::to_chars and std::from_chars | 
 +| <clocale> | #@CPP98_HTML@# | C localization utilities | 
 +| <codecvt> | #@CPP11_HTML@#(deprecated in C++17)(removed in C++26) | Unicode conversion facilities | 
 +| <cuchar> | #@CPP11_HTML@# | C-style Unicode character conversion functions | 
 +| <cwchar> | #@CPP98_HTML@# | Various wide and multibyte string handling functions | 
 +| <cwctype> | #@CPP98_HTML@# | Functions to determine the category of wide characters | 
 +| <format> | #@CPP20_HTML@# | Formatting library including std::format | 
 +| <locale> | #@CPP98_HTML@# | Localization utilities | 
 +| <regex> | #@CPP11_HTML@# | Classes, algorithms and iterators to support regular expression processing | 
 +| <text_encoding> | #@CPP26_HTML@# | Text encoding identifications | 
 + 
 +^ Заголовок ^ Стандарт ^ Описание ^ 
 +| <cfenv> | #@CPP11_HTML@# | Floating-point environment access functions | 
 +| <cmath> | #@CPP98_HTML@# | Common mathematics functions | 
 +| <complex> | #@CPP98_HTML@# | Complex number type | 
 +| <linalg> | #@CPP26_HTML@# | Basic linear algebra algorithms (BLAS) | 
 +| <numbers> | #@CPP20_HTML@# | Math constants | 
 +| <random> | #@CPP11_HTML@# | Random number generators and distributions | 
 +| <simd> | #@CPP26_HTML@# | Data-parallel types and operations on these types | 
 +| <valarray> | #@CPP98_HTML@# | Class for representing and manipulating arrays of values | 
 + 
 +^ Заголовок ^ Стандарт ^ Описание ^ 
 +| <chrono> | #@CPP11_HTML@# | C++ time utilities | 
 +| <ctime> | #@CPP98_HTML@# | C-style time/date utilities | 
 + 
 + 
 +++++связь классов | 
 +{{:cpp:iostream.gif}} 
 +++++ 
 + 
 +^ Заголовок ^ Стандарт ^ Описание ^ 
 +| <cinttypes> | #@CPP11_HTML@# | Formatting macros, intmax_t and uintmax_t math and conversions | 
 +| <cstdio> | #@CPP98_HTML@# | C-style input-output functions | 
 +| <filesystem> | #@CPP17_HTML@# | std::filesystem::path class and supporting functions | 
 +| <fstream> | #@CPP98_HTML@# | std::basic_fstream, std::basic_ifstream, std::basic_ofstream class templates and typedefs | 
 +| <iomanip> | #@CPP98_HTML@# | Helper functions to control the format of input and output | 
 +| <ios> | #@CPP98_HTML@# | std::ios_base class, std::basic_ios class template and typedefs | 
 +| <iosfwd> | #@CPP98_HTML@# | Forward declarations of all classes in the input/output library | 
 +| <iostream> | #@CPP98_HTML@# | Several standard stream objects | 
 +| <istream> | #@CPP98_HTML@# | std::basic_istream class template and typedefs | 
 +| <ostream> | #@CPP98_HTML@# | std::basic_ostream, std::basic_iostream class templates and typedefs | 
 +| <print> | #@CPP23_HTML@# | Formatted output library including std::print | 
 +| <spanstream> | #@CPP23_HTML@# | std::basic_spanstream, std::basic_ispanstream, std::basic_ospanstream class templates and typedefs | 
 +| <sstream> | #@CPP98_HTML@# | std::basic_stringstream, std::basic_istringstream, std::basic_ostringstream class templates and typedefs | 
 +| <streambuf> | #@CPP98_HTML@# | std::basic_streambuf class template | 
 +| <strstream> | (deprecated in C++98)(removed in C++26) | std::strstream, std::istrstream, std::ostrstream | 
 +| <syncstream> | #@CPP20_HTML@# | std::basic_osyncstream, std::basic_syncbuf and typedefs | 
 + 
 +^ Заголовок ^ Стандарт ^ Описание ^ 
 +| <atomic> | #@CPP11_HTML@# | Atomic operations library | 
 +| <barrier> | #@CPP20_HTML@# | Barriers | 
 +| <condition_variable> | #@CPP11_HTML@# | Thread waiting conditions | 
 +| <future> | #@CPP11_HTML@# | Primitives for asynchronous computations | 
 +| <hazard_pointer> | #@CPP26_HTML@# | Hazard pointers | 
 +| <latch> | #@CPP20_HTML@# | Latches | 
 +| <mutex> | #@CPP11_HTML@# | Mutual exclusion primitives | 
 +| <rcu> | #@CPP26_HTML@# | Read-copy update mechanisms | 
 +| <semaphore> | #@CPP20_HTML@# | Semaphores | 
 +| <shared_mutex> | #@CPP14_HTML@# | Shared mutual exclusion primitives | 
 +| <stop_token> | #@CPP20_HTML@# | Stop tokens for std::jthread | 
 +| <thread> | #@CPP11_HTML@# | std::thread class and supporting functions | 
 + 
 +/* 
 +==== Потоки ввода/вывода ==== 
 + 
 +++++связь классов | 
 +{{:cpp:iostream.gif}} 
 +++++ 
 + 
 +^ Заголовочный файл ^ Описание ^ 
 +| fstream |  | 
 +| iomanip |  | 
 +| ios |  | 
 +| iosfwd |  | 
 +| iostream |  | 
 +| istream |  | 
 +| ostream |  | 
 +| sstream |  | 
 +| streambuf |  | 
 + 
 +==== Контейнеры ==== 
 + 
 +^ Заголовочный файл      ^ Описание               ^ 
 +| <array>                | Array header (header) 
 +| <bitset>               | Bitset header (header) | 
 +| <deque>                | Deque header (header) 
 +| <forward_list>         | Forward list (header) 
 +| <list>                 | List header (header)   | 
 +| <map>                  | Map header (header)    | 
 +| <queue>                | Queue header (header) 
 +| <set>                  | Set header (header)    | 
 +| <stack>                | Stack header (header) 
 +| <unordered_map>        | Unordered map header (header) | 
 +| <unordered_set>        | Unordered set header (header) | 
 +| <vector>               | Vector header (header) 
 + 
 +==== Многопоточность ==== 
 + 
 +^ Заголовочный файл ^ Описание ^ 
 +| atomic (%%C++11%%) |  | 
 +| condition_variable (%%C++11%%) |  | 
 +| future (%%C++11%%) |  | 
 +| mutex (%%C++11%%) |  | 
 +| shared_mutex (%%C++14%%) |  | 
 +| thread (%%C++11%%) |  | 
 + 
 +==== Прочие ==== 
 + 
 +^ Заголовочный файл ^ Описание 
 +| algorithm        |           | 
 +| bitset                     | 
 +| chrono (%%C++11%%)|           | 
 +| codecvt (%%C++11%%)|          | 
 +| complex          |           | 
 +| exception        |           | 
 +| functional                 | 
 +| initializer_list (%%C++11%%)| | 
 +| iterator                   | 
 +| limits                     | 
 +| locale                     | 
 +| memory                     | 
 +| new              |           | 
 +| numeric          |           | 
 +| random (%%C++11%%)|          | 
 +| ratio (%%C++11%%)|           | 
 +| regex (%%C++11%%)|           | 
 +| stdexcept        |           | 
 +| string                     | 
 +| system_error (%%C++11%%)|   | 
 +| tuple (%%C++11%%)|           | 
 +| typeindex (%%C++11%%)|      | 
 +| typeinfo                   | 
 +| type_traits (%%C++11%%)|    | 
 +| utility          |           | 
 +| valarray                   | 
 + 
 +*/
  
-включает в себя спецификации стандарта ISO C90 из libc