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

Method value

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

Source from the content-addressed store, hash-verified

1048
1049#if (!defined BOOST_NO_CXX11_REF_QUALIFIERS) && (!defined BOOST_OPTIONAL_DETAIL_NO_RVALUE_REFERENCES)
1050 reference_const_type value() const&
1051 {
1052 if (this->is_initialized())
1053 return this->get() ;
1054 else
1055 throw_exception(bad_optional_access());
1056 }
1057
1058 reference_type value() &
1059 {

Callers

nothing calls this directly

Calls 5

getMethod · 0.95
bad_optional_accessClass · 0.85
throw_exceptionFunction · 0.50
moveFunction · 0.50
is_initializedMethod · 0.45

Tested by

no test coverage detected