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

Function invoke

extlibs/sol3/include/sol/sol.hpp:3603–3606  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3601#endif
3602 typename = enable_if_t<std::is_member_pointer<decay_t<Fn>>::value>, int = 0>
3603 constexpr auto invoke(Fn&& f, Args&&... args) noexcept(noexcept(std::mem_fn(f)(std::forward<Args>(args)...)))
3604 -> decltype(std::mem_fn(f)(std::forward<Args>(args)...)) {
3605 return std::mem_fn(f)(std::forward<Args>(args)...);
3606 }
3607
3608 template <typename Fn, typename... Args, typename = enable_if_t<!std::is_member_pointer<decay_t<Fn>>::value>>
3609 constexpr auto invoke(Fn&& f, Args&&... args) noexcept(noexcept(std::forward<Fn>(f)(std::forward<Args>(args)...)))

Callers 15

complete_invokeFunction · 0.85
invokeLambdaFunction · 0.85
setFlagMethod · 0.85
and_thenMethod · 0.85
map_orMethod · 0.85
map_or_elseMethod · 0.85
sol.hppFile · 0.85
optional_map_implFunction · 0.85
and_thenMethod · 0.85

Calls 1

luacallFunction · 0.85

Tested by

no test coverage detected