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

#include <units.hpp>

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

Public Member Functions

constexpr void parse (format_parse_context &ctx) noexcept
 
void format (const unit_view< T > &uv, const sink &out) const noexcept
 

Public Attributes

microfmt::string_view forwarded_spec {""}
 

Member Function Documentation

◆ format()

template<typename T >
void microfmt::formatter< unit_view< T > >::format ( const unit_view< T > &  uv,
const sink &  out 
) const
inlinenoexcept

◆ parse()

template<typename T >
constexpr void microfmt::formatter< unit_view< T > >::parse ( format_parse_context &  ctx)
inlineconstexprnoexcept

Member Data Documentation

◆ forwarded_spec

template<typename T >
microfmt::string_view microfmt::formatter< unit_view< T > >::forwarded_spec {""}

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