Helper class for write_two_digits(), which creates a table that maps every integer from 0 to 99 to a two-char sequence that represents its two base 10 digits.
More...
#include <integer_digits.h>
Helper class for write_two_digits(), which creates a table that maps every integer from 0 to 99 to a two-char sequence that represents its two base 10 digits.
◆ TwoDigitWriter()
constexpr TwoDigitWriter::TwoDigitWriter |
( |
| ) |
|
|
inlineconstexpr |
◆ Write()
char * TwoDigitWriter::Write |
( |
int |
value, |
|
|
char * |
to |
|
) |
| const |
|
inline |
◆ m_digits
char TwoDigitWriter::m_digits[100][2] {} |
|
private |
The documentation for this class was generated from the following file: