MCPcopy Create free account
hub / github.com/ceph/ceph / invoke

Function invoke

src/include/expected.hpp:287–291  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

285#endif
286 typename = enable_if_t<std::is_member_pointer<decay_t<Fn>>::value>, int = 0>
287constexpr auto invoke(Fn &&f, Args &&...args) noexcept(
288 noexcept(std::mem_fn(f)(std::forward<Args>(args)...)))
289 -> decltype(std::mem_fn(f)(std::forward<Args>(args)...)) {
290 return std::mem_fn(f)(std::forward<Args>(args)...);
291}
292
293template <typename Fn, typename... Args,
294 typename = enable_if_t<!std::is_member_pointer<decay_t<Fn>>::value>>

Callers 15

expected.hppFile · 0.70
and_then_implFunction · 0.70
expected_map_implFunction · 0.70
map_error_implFunction · 0.70
or_else_implFunction · 0.70
update_timestampMethod · 0.50
do_runMethod · 0.50
run_ertrMethod · 0.50
sclMethod · 0.50

Calls

no outgoing calls

Tested by 12

do_runMethod · 0.40
run_ertrMethod · 0.40
sclMethod · 0.40
run_sclMethod · 0.40
so_mut_oiFunction · 0.40
so_mut_ssFunction · 0.40
lba_btree_updateMethod · 0.40
lba_btree_readMethod · 0.40
with_transactionMethod · 0.40
with_onode_writeMethod · 0.40
with_onodes_processMethod · 0.40
with_onodes_writeMethod · 0.40