C++20 std::format

GPTKB entity

Statements (34)
Predicate Object
gptkbp:instanceOf C++ Standard Library feature
gptkbp:allows custom formatters
gptkbp:basedOn {fmt} library
gptkbp:definedIn <format> header
gptkbp:example std::format("Hello {}!", name);
gptkbp:function text formatting
https://www.w3.org/2000/01/rdf-schema#label C++20 std::format
gptkbp:implementedIn gptkb:libc++
gptkb:MSVC_STL
gptkb:libstdc++
gptkbp:inspiredBy Python str.format
gptkbp:introducedIn gptkb:C++20
gptkbp:localeAware no (by default)
gptkbp:mainFunction std::format
std::format_args
std::format_to
std::vformat
std::vformat_to
gptkbp:replacedBy printf-style formatting
gptkbp:standardizedBy gptkb:ISO_C++
gptkbp:supportedBy locale-specific formatting (by default)
printf-style format specifiers
gptkbp:supports format specifiers
positional arguments
type-safe formatting
gptkbp:supportsFormat strings
integral types
floating-point types
user-defined types (with formatter specialization)
gptkbp:threadSafe yes
gptkbp:uses format string syntax
replacement fields
gptkbp:bfsParent gptkb:Victor_Zverovich
gptkbp:bfsLayer 8