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 a snapshot of the master branch, built from commit 886930d6a2.
PrevUpHomeNext

operator<<

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