microfmt
Zero-allocation C++ formatting for constrained environments
Loading...
Searching...
No Matches
Public Attributes | List of all members
microfmt::container_options Struct Reference

Configuration options for formatting container views. More...

#include <remote_container.hpp>

Collaboration diagram for microfmt::container_options:
Collaboration graph
[legend]

Public Attributes

bool print_key {true}
 Whether key components of entries are rendered.
 
bool print_value {true}
 Whether value components of entries are rendered.
 
microfmt::string_view kv_separator {": "}
 Text separating a key from its value.
 
microfmt::string_view entry_separator {", "}
 Text separating adjacent entries.
 
microfmt::string_view open_bracket {"{"}
 Opening delimiter for the rendered container.
 
microfmt::string_view close_bracket {"}"}
 Closing delimiter for the rendered container.
 
size_t max_print {64}
 Maximum number of entries to render before truncating.
 

Detailed Description

Configuration options for formatting container views.

Member Data Documentation

◆ close_bracket

microfmt::string_view microfmt::container_options::close_bracket {"}"}

Closing delimiter for the rendered container.

◆ entry_separator

microfmt::string_view microfmt::container_options::entry_separator {", "}

Text separating adjacent entries.

◆ kv_separator

microfmt::string_view microfmt::container_options::kv_separator {": "}

Text separating a key from its value.

◆ max_print

size_t microfmt::container_options::max_print {64}

Maximum number of entries to render before truncating.

◆ open_bracket

microfmt::string_view microfmt::container_options::open_bracket {"{"}

Opening delimiter for the rendered container.

◆ print_key

bool microfmt::container_options::print_key {true}

Whether key components of entries are rendered.

◆ print_value

bool microfmt::container_options::print_value {true}

Whether value components of entries are rendered.


The documentation for this struct was generated from the following file: