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);

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

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

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);

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);

Return Value

output iterator after writing

Parameters

Name

Description

out

address of the string receiving formatted characters

fmtStr

format string

args

type‐erased format arguments

Created with MrDocs