value::get_int64

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

Synopsis

std::int64_t&
get_int64() noexcept; (1)

std::int64_t
get_int64() const noexcept; (2)

Description

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

Preconditions

this->is_int64()

Complexity

Constant.

Exception Safety

No-throw guarantee.