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

Различия

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

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

Предыдущая версия справа и слеваПредыдущая версия
Следующая версия
Предыдущая версия
cpp:sl_cpp [2025/03/18 17:34] radi0devcpp:sl_cpp [2025/11/09 12:07] (текущий) – внешнее изменение A User Not Logged in
Строка 1: Строка 1:
-====== Стандартная библиотека C++ ======+~~NOCACHE~~ 
 + 
 +====== стандартная библиотека C++ ======
  
 ==== C Library ==== ==== C Library ====
Строка 5: Строка 7:
 Стандартная библиотека %%C++%% включает в себя спецификации стандарта ISO C90 из стандартной библиотеки C Стандартная библиотека %%C++%% включает в себя спецификации стандарта ISO C90 из стандартной библиотеки C
  
-^ Заголовочный файл ^ Описание ^ +^ Заголовок ^ Стандарт ^ Описание ^ 
-| <cassert>      | C Diagnostics Library (header+<assert.h> | #@CPP98_HTML@# | Behaves same as <cassert> | 
-| <cctype      Character handling functions (header+| <ctype.h> | #@CPP98_HTML@# | Behaves as if each name from <cctype> is placed in global namespace | 
-| <cerrno      | C Errors (header+| <errno.h> | #@CPP98_HTML@# | Behaves same as <cerrno>
-| <cfenv> %%(C++11)%% | Floating-point environment (header) | +| <fenv.h> | #@CPP11_HTML@# | Behaves as if each name from <cfenv> is placed in global namespace | 
-| <cfloat>       Characteristics of floating-point types (header) +| <float.h> | #@CPP98_HTML@# | Behaves same as <cfloat>
-| <cinttypes%%(C++11)%% C integer types (header) +| <inttypes.h> | #@CPP11_HTML@# | Behaves as if each name from <cinttypes> is placed in global namespace | 
-| <ciso646     ISO 646 Alternative operator spellings (header) | +| <limits.h> | #@CPP98_HTML@# | Behaves same as <climits>
-| <climits     Sizes of integral types (header) +| <locale.h> | #@CPP98_HTML@# | Behaves as if each name from <clocale> is placed in global namespace | 
-| <clocale     C localization library (header) +| <math.h> | #@CPP98_HTML@# | Behaves as if each name from <cmath> is placed in global namespace, except for names of mathematical special functions | 
-| <cmath       C numerics library (header) +| <setjmp.h> | #@CPP98_HTML@# | Behaves as if each name from <csetjmp> is placed in global namespace | 
-| <csetjmp     Non local jumps (header) +| <signal.h> | #@CPP98_HTML@# | Behaves as if each name from <csignal> is placed in global namespace | 
-| <csignal     library to handle signals (header) +| <stdarg.h> | #@CPP98_HTML@# | Behaves as if each name from <cstdarg> is placed in global namespace | 
-| <cstdarg     Variable arguments handling (header) +| <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 | 
-| <cstdbool%%(C++11)%% Boolean type (header) +| <stdint.h> | #@CPP11_HTML@# | Behaves as if each name from <cstdint> is placed in global namespace | 
-| <cstddef     | C Standard definitions (header) +| <stdio.h> | #@CPP98_HTML@# | Behaves as if each name from <cstdio> is placed in global namespace | 
-| <cstdint%%(C++11)%% | Integer types (header) | +| <stdlib.h> | #@CPP98_HTML@# | Behaves as if each name from <cstdlib> is placed in global namespace | 
-| <cstdio      | C library to perform Input/Output operations (header) +| <string.h> | #@CPP98_HTML@# | Behaves as if each name from <cstring> is placed in global namespace | 
-| <cstdlib     C Standard General Utilities Library (header) +| <time.h> | #@CPP98_HTML@# | Behaves as if each name from <ctime> is placed in global namespace | 
-| <cstring     C Strings (header) | +| <uchar.h> | #@CPP11_HTML@# | Behaves as if each name from <cuchar> is placed in global namespace | 
-| <ctgmath%%(C++11)%% Type-generic math (header) +| <wchar.h> | #@CPP98_HTML@# | Behaves as if each name from <cwchar> is placed in global namespace | 
-| <ctime       | C Time Library (header) +| <wctype.h> | #@CPP98_HTML@# | Behaves as if each name from <cwctype> is placed in global namespace | 
-| <cuchar%%(C++11)%% | Unicode characters (header) | +| Специальные заголовки совместимости с ||| 
-| <cwchar      Wide characters (header) +| <stdatomic.h> | #@CPP23_HTML@# | Defines _Atomic and provides corresponding components in the C standard library | 
-| <cwctype     Wide character type (header) |+| <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 functionthat 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?direct|}}+{{:cpp:iostream.gif}}
 ++++ ++++
  
Строка 104: Строка 276:
 | valarray                   | | valarray                   |
  
 +*/