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

Parsed floating-point format specifier state. More...

#include <floating.hpp>

Public Attributes

char sign {'\0'}
 Optional sign character: ‘’+',' 'or'\0'` (none).
 
bool alt_form {false}
 Alternate-form flag (#), forcing a decimal point to be printed.
 
int precision {-1}
 Explicit precision, or -1 when not specified.
 
char type {'g'}
 Presentation type: f, F, e, E, g, G, a or A.
 

Detailed Description

Parsed floating-point format specifier state.

Member Data Documentation

◆ alt_form

bool microfmt::detail::parsed_float_spec::alt_form {false}

Alternate-form flag (#), forcing a decimal point to be printed.

◆ precision

int microfmt::detail::parsed_float_spec::precision {-1}

Explicit precision, or -1 when not specified.

◆ sign

char microfmt::detail::parsed_float_spec::sign {'\0'}

Optional sign character: ‘’+',' 'or'\0'` (none).

◆ type

char microfmt::detail::parsed_float_spec::type {'g'}

Presentation type: f, F, e, E, g, G, a or A.


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