|
| template<typename... Targs> |
| consteval_cxx20 ssize_t | jau::cfmt::check (std::string_view fmt, const Targs &...) noexcept |
| | Strict compile-time type validation of deduced argument-types against the format string.
|
| |
| template<typename... Targs> |
| consteval_cxx20 ssize_t | jau::cfmt::check2 (std::string_view fmt) noexcept |
| | Strict compile-time type validation of explicit argument-types against the format string.
|
| |
| template<typename... Targs> |
| consteval_cxx20 int | jau::cfmt::check2Line (std::string_view fmt) noexcept |
| | Strict compile-time type validation of explicit argument-types against the format string.
|
| |
| template<typename... Targs> |
| consteval_cxx20 int | jau::cfmt::checkLine (std::string_view fmt, const Targs &...) noexcept |
| | Strict compile-time type validation of deduced argument-types against the format string.
|
| |
| template<typename... Targs> |
| consteval_cxx20 Result | jau::cfmt::checkR (std::string_view fmt, const Targs &...) noexcept |
| | Strict compile-time type validation of deduced argument-types against the format string.
|
| |
| template<typename... Targs> |
| consteval_cxx20 Result | jau::cfmt::checkR2 (std::string_view format) noexcept |
| | Strict compile-time type validation of explicit argument-types against the format string.
|
| |
| template<typename... Targs> |
| std::string | jau::cfmt::format (size_t maxLen, std::string_view fmt, const Targs &...args) noexcept |
| | Strict format with type validation of arguments against the format string.
|
| |
| template<typename... Targs> |
| std::string | jau::cfmt::format (std::string_view fmt, const Targs &...args) noexcept |
| | Strict format with type validation of arguments against the format string.
|
| |
| template<typename... Args> |
| std::string | jau::format_string (std::string_view fmt, const Args &...args) noexcept |
| | Safely returns a (non-truncated) string according to snprintf() formatting rules using a reserved string length of jau::cfmt::default_string_capacity and variable number of arguments following the fmt argument.
|
| |
| template<typename... Args> |
| std::string | jau::format_string_h (const std::size_t strLenHint, std::string_view fmt, const Args &...args) noexcept |
| | Safely returns a (non-truncated) string according to snprintf() formatting rules and variable number of arguments following the fmt argument.
|
| |
| template<typename... Args> |
| std::string | jau::format_string_hn (const std::size_t strLenHint, const std::size_t maxLen, std::string_view fmt, const Args &...args) noexcept |
| | Safely returns a (potentially truncated) string according to snprintf() formatting rules and variable number of arguments following the fmt argument.
|
| |
| template<typename... Args> |
| std::string | jau::format_string_n (const std::size_t maxLen, std::string_view fmt, const Args &...args) noexcept |
| | Safely returns a (potentially truncated) string according to snprintf() formatting rules and variable number of arguments following the fmt argument.
|
| |
| template<typename... Targs> |
| Result | jau::cfmt::formatR (const std::size_t strLenHint, std::string &s, size_t maxLen, std::string_view fmt, const Targs &...args) noexcept |
| | Strict format with type validation of arguments against the format string, appending to the given destination.
|
| |
| template<typename... Targs> |
| Result | jau::cfmt::formatR (const std::size_t strLenHint, std::string &s, std::string_view fmt, const Targs &...args) noexcept |
| | Strict format with type validation of arguments against the format string, appending to the given destination.
|
| |
| template<typename... Targs> |
| Result | jau::cfmt::formatR (std::string &s, size_t maxLen, std::string_view fmt, const Targs &...args) noexcept |
| | Strict format with type validation of arguments against the format string, appending to the given destination.
|
| |
| template<typename... Targs> |
| Result | jau::cfmt::formatR (std::string &s, std::string_view fmt, const Targs &...args) noexcept |
| | Strict format with type validation of arguments against the format string, appending to the given destination.
|
| |
| | jau::cfmt::JAU_MAKE_BITFIELD_ENUM_STRING (flags_t, hash, zeropad, left, space, plus, thousands, uppercase) |
| |
| | jau::cfmt::JAU_MAKE_ENUM_STRING (cspec_t, character, string, pointer, signed_int, unsigned_int, floating_point, exp_float, alt_float, hex_float) |
| |
| | jau::cfmt::JAU_MAKE_ENUM_STRING (plength_t, hh, h, l, ll, L, j, z, t) |
| |
| std::ostream & | jau::cfmt::operator<< (std::ostream &out, const FormatOpts &o) |
| |
| std::ostream & | jau::cfmt::operator<< (std::ostream &out, const Result &pc) |
| |
| static constexpr const char * | jau::cfmt::to_string (pstate_t s) noexcept |
| |