MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / value

Function value

extern/boost/boost/optional/optional.hpp:1295–1301  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1293
1294#if (!defined BOOST_NO_CXX11_REF_QUALIFIERS) && (!defined BOOST_OPTIONAL_DETAIL_NO_RVALUE_REFERENCES)
1295 reference_const_type value() const&
1296 {
1297 if (this->is_initialized())
1298 return this->get() ;
1299 else
1300 throw_exception(bad_optional_access());
1301 }
1302
1303 reference_type value() &
1304 {

Callers

nothing calls this directly

Calls 5

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

Tested by

no test coverage detected