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

key_value_pair

A key/value pair.

Synopsis

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

class key_value_pair
Member Functions

Name

Description

key

Return the key of this element.

key_c_str

Return the key of this element as a null-terminated string.

key_value_pair [constructor]

Copy constructor.

Move constructor.

Pilfer constructor.

Constructor.

operator=

Copy assignment (deleted).

storage

Return the associated memory resource.

value

Return the value of this element.

~key_value_pair [destructor]

Destructor.

Description

This is the type of element used by the object container.

Convenience header <boost/json.hpp>


PrevUpHomeNext