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

Type-erased, non-owning view of formatting arguments. More...

#include <microfmt.hpp>

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

Public Attributes

span< const void *const > ptrs
 
span< const format_fn_t > fns
 

Detailed Description

Type-erased, non-owning view of formatting arguments.

Can be passed cheaply by value into lambdas or non-template functions, avoiding variadic template bloat and deep stack copies.

Member Data Documentation

◆ fns

span<const format_fn_t> microfmt::format_args::fns

◆ ptrs

span<const void *const> microfmt::format_args::ptrs

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