Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext
value::get_int64 (1 of 2 overloads)

Return a reference to the underlying std::int64_t, without checking.

Synopsis
std::int64_t&
get_int64();
Description

This is the fastest way to access the underlying representation when the kind is known in advance.

Preconditions
this->[link json.ref.boost__json__value.is_int64 `is_int64`]()
Complexity

Constant.

Exception Safety

No-throw guarantee.


PrevUpHomeNext