Template Struct basic_writer::int_writer

Struct Documentation

template<typename Int, typename Specs>
struct int_writer

Public Types

enum [anonymous]

Values:

sep_size = 1
template<>
template<>
using unsigned_type = uint32_or_64_or_128_t<Int>

Public Functions

template<>
string_view get_prefix() const
template<>
int_writer(basic_writer<Range> &w, Int value, const Specs &s)
template<>
void on_dec()
template<>
void on_hex()
template<>
void on_bin()
template<>
void on_oct()
template<>
void on_num()
template<>
void on_error()

Public Members

template<>
basic_writer<Range> &writer
template<>
const Specs &specs
template<>
unsigned_type abs_value
template<>
template<>
char prefix[4]
template<>
unsigned prefix_size
template<int BITS>
struct bin_writer

Public Functions

template<>
template<typename It>
void operator()(It &&it) const

Public Members

template<>
template<>
unsigned_type abs_value
template<>
template<>
int num_digits
struct dec_writer

Public Functions

template<>
template<typename It>
void operator()(It &&it) const

Public Members

template<>
template<>
unsigned_type abs_value
template<>
template<>
int num_digits
struct hex_writer

Public Functions

template<>
template<typename It>
void operator()(It &&it) const

Public Members

template<>
template<>
int_writer &self
template<>
template<>
int num_digits
struct num_writer

Public Functions

template<>
template<typename It>
void operator()(It &&it) const

Public Members

template<>
template<>
unsigned_type abs_value
template<>
template<>
int size
template<>
template<>
const std::string &groups
template<>
template<>
char_type sep