Format args according to the specification in fmt.
Declared in <bslfmt_format_imp.h>
bsl::string
vformat(
std::string_view fmt,
format_args args);
Format the specified args according to the specification given by the specified fmt and return the result. In the event of an error the exception format_error is thrown.
the formatted string
| Name | Description |
|---|---|
| fmt | format string |
| args | type-erased format arguments |