std::range_formatter
Min standard notice:
Header: <format>
std::range_formatter is a helper class template for implementing range std::formatter specializations.
# Declarations
template< class T, class CharT = char >
requires std::same_as<std::remove_cvref_t<T>, T> && std::formattable<T, CharT>
class range_formatter;
(since C++23)
# Defect reports
| DR | Applied to | Behavior as published | Correct behavior |
|---|---|---|---|
| LWG 3892 | C++23 | the formatting of nested ranges was incorrect | corrected |