Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext
format_arg::format_arg

Constructor.

Synopsis
template<
    class Formattable>
constexpr
format_arg(
    string_view name,
    const Formattable& value);
Description

Constructs an argument from a name and a value. value must satisfy the Formattable concept.

Exception safety

No-throw guarantee.

Object lifetimes

Both name and value are stored as views.


PrevUpHomeNext