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_context_base::append_value

Formats a value and adds it to the output string.

Synopsis
template<
    class Formattable>
format_context_base&
append_value(
    const Formattable& v);
Description

value is formatted according to its type. If formatting generates an error (for instance, a string with invalid encoding is passed), the error state may be set.

The supplied type must satisfy the Formattable concept.

Exception safety

Basic guarantee. Memory allocations may throw.

Errors

The error state may be updated with the following errors:


PrevUpHomeNext