microfmt
Zero-allocation C++ formatting for constrained environments
Loading...
Searching...
No Matches
Public Attributes | List of all members
microfmt::map_range_view< KeyExtractor, ValExtractor, Iterator, Sentinel > Struct Template Reference

#include <map_view.hpp>

Collaboration diagram for microfmt::map_range_view< KeyExtractor, ValExtractor, Iterator, Sentinel >:
Collaboration graph
[legend]

Public Attributes

Iterator first
 
Sentinel last
 
KeyExtractor key_fn
 
ValExtractor val_fn
 
microfmt::string_view open_delim {"{"}
 
microfmt::string_view close_delim {"}"}
 
microfmt::string_view sep {", "}
 
microfmt::string_view kv_sep {": "}
 

Detailed Description

template<typename KeyExtractor, typename ValExtractor, typename Iterator, typename Sentinel>
struct microfmt::map_range_view< KeyExtractor, ValExtractor, Iterator, Sentinel >

Non-owning map range and its key/value extraction configuration.

Member Data Documentation

◆ close_delim

template<typename KeyExtractor , typename ValExtractor , typename Iterator , typename Sentinel >
microfmt::string_view microfmt::map_range_view< KeyExtractor, ValExtractor, Iterator, Sentinel >::close_delim {"}"}

◆ first

template<typename KeyExtractor , typename ValExtractor , typename Iterator , typename Sentinel >
Iterator microfmt::map_range_view< KeyExtractor, ValExtractor, Iterator, Sentinel >::first

◆ key_fn

template<typename KeyExtractor , typename ValExtractor , typename Iterator , typename Sentinel >
KeyExtractor microfmt::map_range_view< KeyExtractor, ValExtractor, Iterator, Sentinel >::key_fn

◆ kv_sep

template<typename KeyExtractor , typename ValExtractor , typename Iterator , typename Sentinel >
microfmt::string_view microfmt::map_range_view< KeyExtractor, ValExtractor, Iterator, Sentinel >::kv_sep {": "}

◆ last

template<typename KeyExtractor , typename ValExtractor , typename Iterator , typename Sentinel >
Sentinel microfmt::map_range_view< KeyExtractor, ValExtractor, Iterator, Sentinel >::last

◆ open_delim

template<typename KeyExtractor , typename ValExtractor , typename Iterator , typename Sentinel >
microfmt::string_view microfmt::map_range_view< KeyExtractor, ValExtractor, Iterator, Sentinel >::open_delim {"{"}

◆ sep

template<typename KeyExtractor , typename ValExtractor , typename Iterator , typename Sentinel >
microfmt::string_view microfmt::map_range_view< KeyExtractor, ValExtractor, Iterator, Sentinel >::sep {", "}

◆ val_fn

template<typename KeyExtractor , typename ValExtractor , typename Iterator , typename Sentinel >
ValExtractor microfmt::map_range_view< KeyExtractor, ValExtractor, Iterator, Sentinel >::val_fn

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