morph 0.1.0
Asynchronous bridge between GUI thread and business models
Loading...
Searching...
No Matches
morph::render::detail::DigitMatch Struct Reference

A digit matched at the start of an entry. More...

#include <locale_format.hpp>

Public Attributes

std::size_t length = 0
 The number of bytes the digit occupies; 0 when there is no digit there.
char canonical = '0'
 The canonical ASCII spelling of the digit's value, '0'-'9'.
bool native = false

Detailed Description

A digit matched at the start of an entry.

Definition at line 269 of file locale_format.hpp.

Member Data Documentation

◆ length

std::size_t morph::render::detail::DigitMatch::length = 0

The number of bytes the digit occupies; 0 when there is no digit there.

Definition at line 271 of file locale_format.hpp.

◆ canonical

char morph::render::detail::DigitMatch::canonical = '0'

The canonical ASCII spelling of the digit's value, '0'-'9'.

Definition at line 273 of file locale_format.hpp.

◆ native

bool morph::render::detail::DigitMatch::native = false

Whether the match came from the locale's own digit set rather than from the ASCII set every locale additionally accepts. When base is U'0' the two sets coincide and this is always true.

Definition at line 277 of file locale_format.hpp.


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