|
rapidyaml
0.10.0
parse and emit YAML, and do it fast
|
Functions | |
| template<class T > | |
| auto | c4::digits_dec (T v) noexcept -> typename std::enable_if< sizeof(T)==1u, unsigned >::type |
| decimal digits for 8 bit integers More... | |
| template<class T > | |
| unsigned | c4::digits_hex (T v) noexcept |
| return the number of digits required to encode an hexadecimal number. More... | |
| template<class T > | |
| unsigned | c4::digits_bin (T v) noexcept |
| return the number of digits required to encode a binary number. More... | |
| template<class T > | |
| unsigned | c4::digits_oct (T v_) noexcept |
| return the number of digits required to encode an octal number. More... | |
|
inlinenoexcept |
decimal digits for 8 bit integers
decimal digits for 64 bit integers
decimal digits for 32 bit integers
decimal digits for 16 bit integers
Definition at line 434 of file charconv.hpp.
Referenced by c4::itoa(), c4::utoa(), c4::write_dec(), and c4::write_dec_unchecked().
|
inlinenoexcept |
return the number of digits required to encode an hexadecimal number.
Definition at line 517 of file charconv.hpp.
Referenced by c4::itoa(), c4::utoa(), c4::write_hex(), and c4::write_hex_unchecked().
|
inlinenoexcept |
return the number of digits required to encode a binary number.
Definition at line 526 of file charconv.hpp.
Referenced by c4::itoa(), c4::utoa(), c4::write_bin(), and c4::write_bin_unchecked().
|
inlinenoexcept |
return the number of digits required to encode an octal number.
Definition at line 535 of file charconv.hpp.
Referenced by c4::itoa(), c4::utoa(), c4::write_oct(), and c4::write_oct_unchecked().