A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://en.cppreference.com/w/cpp/language/../algorithm/../utility/format/range_format.html below:

std::range_format - cppreference.com

enum class range_format {

    disabled,
    map,
    set,
    sequence,
    string,
    debug_string

};
(since C++23)

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 [edit] See also defines formatting rules for a given type
(class template) [edit] selects a suited std::range_format for a range
(variable template)[edit]

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4