BloombergLP::bslfmt::vformat_to

vformat_to overloads

Synopses

Declared in <bslfmt_format_imp.h>

Format type-erased args per fmtStr into the string at out.

void
vformat_to(
    bsl::string* out,
    std::string_view fmtStr,
    format_args args);
» more...

Format type-erased args per fmtStr into the string at out.

void
vformat_to(
    bsl::wstring* out,
    std::wstring_view fmtStr,
    wformat_args args);
» more...

Format type-erased args per fmtStr into the output iterator out.

template<class t_OUT>
t_OUT
vformat_to(
    t_OUT out,
    std::string_view fmtStr,
    format_args args);
» more...

Format type-erased args per fmtStr into the output iterator out.

template<class t_OUT>
t_OUT
vformat_to(
    t_OUT out,
    std::wstring_view fmtStr,
    wformat_args args);
» more...

Return Value

output iterator after writing

Parameters

NameDescription
outaddress of the string receiving formatted characters
fmtStrformat string
argstype-erased format arguments