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

#include <units.hpp>

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

Public Attributes

T value {0}
 
microfmt::string_view unit_symbol {}
 
scale_base base {scale_base::decimal}
 
uint8_t precision {2}
 

Member Data Documentation

◆ base

template<typename T >
scale_base microfmt::auto_unit_view< T >::base {scale_base::decimal}

◆ precision

template<typename T >
uint8_t microfmt::auto_unit_view< T >::precision {2}

◆ unit_symbol

template<typename T >
microfmt::string_view microfmt::auto_unit_view< T >::unit_symbol {}

◆ value

template<typename T >
T microfmt::auto_unit_view< T >::value {0}

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