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 for the latest Boost documentation.
PrevUpHomeNext
operator<< (5 of 5 overloads)

Format a kind to an output stream.

Synopsis

Defined in header <boost/json/kind.hpp>

std::ostream&
operator<<(
    std::ostream& os,
    kind k);
Description

This allows a kind to be formatted as a string, typically for diagnostics.

Return Value

The output stream.

Parameters

Name

Description

os

The output stream to format to.

k

The kind to format.

Convenience header <boost/json.hpp>


PrevUpHomeNext