Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

array_kind

A constant used to select a value constructor overload.

Synopsis

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

constexpr array_kind_t array_kind;
Description

The library provides this constant to allow efficient construction of a value containing an empty array.

Example
[link json.ref.boost__json__storage_ptr `storage_ptr`] sp;
[link json.ref.boost__json__value `value`] jv( [link json.ref.boost__json__array_kind `array_kind`], sp ); // sp is an optional parameter
See Also

array_kind_t

Convenience header <boost/json.hpp>


PrevUpHomeNext