MCPcopy Create free account
hub / github.com/Achain-Dev/Achain / get

Method get

include/win/boost/optional/optional.hpp:1024–1024  ·  view source on GitHub ↗

Returns a reference to the value if this is initialized, otherwise, the behaviour is UNDEFINED No-throw

Source from the content-addressed store, hash-verified

1022 // the behaviour is UNDEFINED
1023 // No-throw
1024 reference_const_type get() const { BOOST_ASSERT(this->is_initialized()) ; return this->get_impl(); }
1025 reference_type get() { BOOST_ASSERT(this->is_initialized()) ; return this->get_impl(); }
1026
1027 // Returns a copy of the value if this is initialized, 'v' otherwise

Callers 12

operator *Method · 0.95
valueMethod · 0.95
optional_io.hppFile · 0.45
assignFunction · 0.45
constructFunction · 0.45
dereferenceFunction · 0.45
cast_ptrFunction · 0.45
optionalMethod · 0.45
reference_const_typeMethod · 0.45
reference_typeMethod · 0.45
optional_swapMethod · 0.45
optional_swapMethod · 0.45

Calls 2

get_implMethod · 0.80
is_initializedMethod · 0.45

Tested by

no test coverage detected