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.

Synopsis

Declared in <bslfmt_format_imp.h>

bsl::string
vformat(
    std::string_view fmt,
    format_args args);

Created with MrDocs