value::get_uint64

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

Synopsis

std::uint64_t&
get_uint64() noexcept; (1)

std::uint64_t
get_uint64() const noexcept; (2)

Description

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

Preconditions

this->is_uint64()

Complexity

Constant.

Exception Safety

No-throw guarantee.