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

Function map

extern/boost/boost/optional/optional.hpp:1406–1412  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1404
1405 template <typename F>
1406 optional<typename boost::result_of<F(reference_type)>::type> map(F f) &
1407 {
1408 if (this->has_value())
1409 return f(get());
1410 else
1411 return none;
1412 }
1413
1414 template <typename F>
1415 optional<typename boost::result_of<F(reference_const_type)>::type> map(F f) const&

Callers 1

parse_re2_benchlogMethod · 0.50

Calls 4

getFunction · 0.70
moveFunction · 0.50
has_valueMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected