|
template<int NUM_ARGS, int NUM_NAMED_ARGS, Ullong DESC>
requires (NUM_ARGS <= detail::kMaxPackedArgs) |
| constexpr | BasicFormatArgs (const Store< NUM_ARGS, NUM_NAMED_ARGS, DESC > &s) |
template<int NUM_ARGS, int NUM_NAMED_ARGS, Ullong DESC>
requires (NUM_ARGS > detail::kMaxPackedArgs) |
| constexpr | BasicFormatArgs (const Store< NUM_ARGS, NUM_NAMED_ARGS, DESC > &s) |
| constexpr | BasicFormatArgs (const FormatArg *args, int count, bool has_named=false) |
| constexpr auto | get (int id) const -> FormatArg |
|
template<typename Char> |
| auto | get (BasicStringView< Char > name) const -> FormatArg |
|
template<typename Char> |
| constexpr auto | getId (BasicStringView< Char > name) const -> int |
|
auto | maxSize () const -> int |
template<typename
Context>
class fmt::BasicFormatArgs< Context >
A view of a collection of formatting arguments. To avoid lifetime issues it should only be used as a parameter type in type-erased functions such as vformat:
void vlog(fmt::StringView fmt, fmt::FormatArgs args); // OK
fmt::FormatArgs args = fmt::makeFormatArgs(); // Dangling
reference