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

Formats a contiguous array/span of values separated by a custom delimiter. Example: join(span, ", ") -> 0x10, 0x20, 0x30 More...

#include <format_helpers.hpp>

Collaboration diagram for microfmt::joined_span_view< T >:
Collaboration graph
[legend]

Public Attributes

span< const T > items {}
 
microfmt::string_view delimiter {", "}
 

Detailed Description

template<typename T>
struct microfmt::joined_span_view< T >

Formats a contiguous array/span of values separated by a custom delimiter. Example: join(span, ", ") -> 0x10, 0x20, 0x30

Member Data Documentation

◆ delimiter

template<typename T >
microfmt::string_view microfmt::joined_span_view< T >::delimiter {", "}

◆ items

template<typename T >
span<const T> microfmt::joined_span_view< T >::items {}

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