std::range_format
From cppreference.com
 
 
 
 
 
 C++ 
 Feature test macros (C++20)
 Concepts library (C++20)
 Metaprogramming library (C++11)
 Ranges library (C++20)
 Filesystem library (C++17)
 Concurrency support library (C++11)
 Execution control library (C++26)
Text processing library 
 
 
 
 
 
 
 
 
 Regular expressions library (C++11)
 Formatting library (C++20)
(C++17)
(C++17)
(C++17)
(C++17)
(C++17)
(C++26)
Formatting library 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)(C++20)(C++20)
(C++26)
(C++23)
 Formatter
(C++20)
(C++23)
(C++23)
(C++23)
(C++20)(C++20)(C++20)
(C++20)(C++20)(C++20)
range_format
(C++23)
(C++23)
 Formatting arguments
(C++20)
(C++20)
(C++20)(C++20)(C++20)
(C++20) (deprecated in C++26)
(C++20)(C++20)
(C++20)
Defined in header 
 
 
<format> 
 enum class range_format {
 
 (since C++23) 
    disabled,
    map,
    set,
    sequence,
    string,
    debug_string
Specifies how a range should be formatted.
[edit] Constants
 Enumerator
 Meaning
disabled
 disallows range default formatter to format range
map
 allows to format range as map representation with modified brackets "{", "}" and separator ": " for underlying pair-like types in the following format:{ key-1 : value-1, ..., key-n : value-n }
set
 allows to format range as set representation with modified brackets "{" and "}" in the following format:{ key-1, ..., key-n }
sequence
 allows to format range as sequence representation with default brackets "[", "]" and separator ", " in the following format:[ element-1, ..., element-n ]
string
 allows to format range as string
debug_string
 allows to format range as escaped string