...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Return a uint64_t
pointer
if this is an unsigned integer, else return nullptr
std::uint64_t* if_uint64();
If this->kind() == kind::uint64
,
returns a pointer to the underlying unsigned integer. Otherwise, returns
nullptr
.
The return value is used in both a boolean context and to assign a variable:
if( auto p = jv.if_uint64() ) return *p;
Constant.
No-throw guarantee.