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 5002c2d6a2.
PrevUpHomeNext

to_string

Return a string representing a kind.

Synopsis

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

string_view
to_string(
    kind k);
Description

This provides a human-readable string representing a kind. This may be useful for diagnostics.

Return Value

The string.

Parameters

Name

Description

k

The kind.

Convenience header <boost/json.hpp>


PrevUpHomeNext