|
rapidyaml
0.7.2
parse and emit YAML, and do it fast
|
Functions | |
| template<class T > | |
| size_t | c4::itoa (substr buf, T v) noexcept |
| convert an integral signed decimal to a string. More... | |
| template<class T > | |
| size_t | c4::itoa (substr buf, T v, T radix) noexcept |
| convert an integral signed integer to a string, using a specific radix. More... | |
| template<class T > | |
| size_t | c4::itoa (substr buf, T v, T radix, size_t num_digits) noexcept |
same as c4::itoa(), but pad with zeroes on the left such that the resulting string is num_digits wide, not accounting for radix prefix (0x,0o,0b). More... | |
|
inlinenoexcept |
convert an integral signed decimal to a string.
Definition at line 1109 of file charconv.hpp.
References c4::digits_dec(), c4::write_dec(), and c4::write_dec_unchecked().
Referenced by c4::to_chars(), and c4::xtoa().
|
inlinenoexcept |
convert an integral signed integer to a string, using a specific radix.
The radix must be 2, 8, 10 or 16.
Definition at line 1141 of file charconv.hpp.
References c4::digits_bin(), c4::digits_dec(), c4::digits_hex(), c4::digits_oct(), c4::write_bin_unchecked(), c4::write_dec_unchecked(), c4::write_hex_unchecked(), and c4::write_oct_unchecked().
|
inlinenoexcept |
same as c4::itoa(), but pad with zeroes on the left such that the resulting string is num_digits wide, not accounting for radix prefix (0x,0o,0b).
The radix must be 2, 8, 10 or 16.
Definition at line 1218 of file charconv.hpp.
References c4::digits_bin(), c4::digits_dec(), c4::digits_hex(), c4::digits_oct(), c4::write_bin(), c4::write_dec(), c4::write_hex(), and c4::write_oct().
Referenced by c4::to_chars(), and c4::xtoa().