BloombergLP::bslfmt::basic_format_parse_context::basic_format_parse_context

Create a parse context for the specified format string and argument count.

Synopsis

Declared in <bslfmt_formatparsecontext.h>

constexpr
explicit
basic_format_parse_context(
    bsl::basic_string_view<t_CHAR> fmt,
    size_t numArgs) noexcept;

Description

The string is stored by reference, so fmt must outlive this object.

Parameters

NameDescription
fmtformat string to parse
numArgsnumber of formatting arguments