MCPcopy Create free account
hub / github.com/ablab/spades / get

Function get

ext/include/boost/optional/optional.hpp:1270–1270  ·  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

1268 // the behaviour is UNDEFINED
1269 // No-throw
1270 reference_const_type get() const { BOOST_ASSERT(this->is_initialized()) ; return this->get_impl(); }
1271 reference_type get() { BOOST_ASSERT(this->is_initialized()) ; return this->get_impl(); }
1272
1273 // 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