|
quill
|
Similar to fmt::dynamic_arg_store but better suited to our needs e.g does not include <functional> and requires less space. More...
#include <DynamicFormatArgStore.h>
Public Member Functions | |
| QUILL_NODISCARD int | size () const |
| QUILL_NODISCARD fmtquill::basic_format_arg< fmtquill::format_context > const * | data () const |
| template<typename T > | |
| void | push_back (T &&arg) |
| Adds an argument for later passing to a formatting function. More... | |
| void | clear () |
| Erase all elements from the store. | |
| QUILL_NODISCARD bool | has_string_related_type () const noexcept |
Similar to fmt::dynamic_arg_store but better suited to our needs e.g does not include <functional> and requires less space.
|
inline |
Adds an argument for later passing to a formatting function.
Example**::
fmtquill::dynamic_format_arg_store<fmtquill::format_fmtquill::format_context> store; store.push_back(42); store.push_back("abc"); store.push_back(1.5f); std::string result = fmtquill::vformat("{} and {} and {}", store);
1.8.13