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

Type-erased property entry synthesized during generation. More...

#include <metadata_map.hpp>

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

Public Member Functions

void format_value (const sink &out) const noexcept
 Formats the underlying property value using its type-erased thunk.
 

Public Attributes

microfmt::string_view key {}
 
value_ptr< const void > val_ptr {}
 
property_print_fn_t print_fn {nullptr}
 

Detailed Description

Type-erased property entry synthesized during generation.

Member Function Documentation

◆ format_value()

void microfmt::property_entry::format_value ( const sink &  out) const
inlinenoexcept

Formats the underlying property value using its type-erased thunk.

Member Data Documentation

◆ key

microfmt::string_view microfmt::property_entry::key {}

◆ print_fn

property_print_fn_t microfmt::property_entry::print_fn {nullptr}

◆ val_ptr

value_ptr<const void> microfmt::property_entry::val_ptr {}

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