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

Function get

extern/boost/boost/optional/optional.hpp:1269–1269  ·  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

1267 // the behaviour is UNDEFINED
1268 // No-throw
1269 reference_const_type get() const { BOOST_ASSERT(this->is_initialized()) ; return this->get_impl(); }
1270 reference_type get() { BOOST_ASSERT(this->is_initialized()) ; return this->get_impl(); }
1271
1272 // Returns a copy of the value if this is initialized, 'v' otherwise

Callers 9

get_value_orFunction · 0.70
value_orFunction · 0.70
value_or_evalFunction · 0.70
mapFunction · 0.70
flat_mapFunction · 0.70
flat_mapMethod · 0.50
get_value_orMethod · 0.50
value_orMethod · 0.50
value_or_evalMethod · 0.50

Calls 2

is_initializedMethod · 0.45
get_implMethod · 0.45

Tested by 1

flat_mapMethod · 0.40