Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of Boost. Click here to view this page for the latest version.
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