
Strings library - cppreference.com
Nov 27, 2024 · The string library provides the class template std::char_traits that defines types and functions for std::basic_string and std::basic_string_view (since C++17). The following …
C++ Standard Library - cppreference.com
Nov 25, 2024 · The strings library provides support for manipulating text represented as homogeneous sequences of following types: char, char8_t (since C++20), char16_t, char32_t …
std::basic_string - cppreference.com
Nov 10, 2024 · The elements of a basic_string are stored contiguously, that is, for a basic_string s, & * (s. begin + n) == & * s. begin + n for any n in [ 0 , s. size ()), and * (s. begin + s. size ()) …
Standard library header <string> - cppreference.com
Nov 27, 2023 · C++98 the declarations of the following std::basic_string members used inconsistent styles in the synopsis: void push_back(CharT c); basic_string& assign(const …
std::to_string - cppreference.com
May 16, 2024 · std::to_string relies on the current C locale for formatting purposes, and therefore concurrent calls to std::to_string from multiple threads may result in partial serialization of calls.
C++ Standard Library headers - cppreference.com
Apr 26, 2025 · For some of the C standard library headers of the form xxx.h, the C++ standard library both includes an identically-named header and another header of the form cxxx (all …
Formatting library (since C++20) - cppreference.com
Sep 24, 2024 · The text formatting library offers a safe and extensible alternative to the printf family of functions. It is intended to complement the existing C++ I/O streams library.
C++20 - cppreference.com
Nov 28, 2024 · C++20 is a major version after C++17, featuring major features (concepts, modules, coroutines, and ranges) and other language and library features. The standard was …
Utility library - cppreference.com
Nov 14, 2024 · Primitive string conversions. In addition to sophisticated locale-dependent parsers and formatters provided by the C++ I/O library, the C I/O library, C++ string converters, and C …
Iterator library - cppreference.com
Jan 28, 2025 · Iterators are a generalization of pointers that allow a C++ program to work with different data structures (for example, containers and ranges (since C++20)) in a uniform …