StormByte 3.0.0
C++26 foundation of the StormByte suite
Loading...
Searching...
No Matches
StormByte::Safe::ReplaceTokenSpec Struct Reference

One ReplaceToken field. More...

#include <StormByte/safe/replace_token.hxx>

Public Member Functions

constexpr bool IsDefault () const noexcept

Public Attributes

bool zero = false
bool width_set = false
unsigned width = 0
bool precision_set = false
int precision = 0
char type = 0

Detailed Description

One ReplaceToken field.

Empty means the historical {} conversion.

Supported text, in any combination: a leading 0, a width, . plus a precision, and a type d, f, g, G, x or X. Anything else is not a field.

Member Function Documentation

◆ IsDefault()

bool StormByte::Safe::ReplaceTokenSpec::IsDefault ( ) const
inlineconstexprnoexcept

Member Data Documentation

◆ precision

int StormByte::Safe::ReplaceTokenSpec::precision = 0

◆ precision_set

bool StormByte::Safe::ReplaceTokenSpec::precision_set = false

◆ type

char StormByte::Safe::ReplaceTokenSpec::type = 0

◆ width

unsigned StormByte::Safe::ReplaceTokenSpec::width = 0

◆ width_set

bool StormByte::Safe::ReplaceTokenSpec::width_set = false

◆ zero

bool StormByte::Safe::ReplaceTokenSpec::zero = false

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