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

Explicitly formats an integer in hexadecimal or binary with customizable prefix, padding width, and case without altering string specifiers. More...

#include <format_helpers.hpp>

Public Attributes

T value {}
 
int width {0}
 
bool prefix {false}
 
bool uppercase {false}
 

Detailed Description

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

Explicitly formats an integer in hexadecimal or binary with customizable prefix, padding width, and case without altering string specifiers.

Member Data Documentation

◆ prefix

template<typename T >
bool microfmt::hex_view< T >::prefix {false}

◆ uppercase

template<typename T >
bool microfmt::hex_view< T >::uppercase {false}

◆ value

template<typename T >
T microfmt::hex_view< T >::value {}

◆ width

template<typename T >
int microfmt::hex_view< T >::width {0}

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