MCPcopy Create free account
hub / github.com/pybind/pybind11 / call

Method call

include/pybind11/cast.h:2156–2159  ·  view source on GitHub ↗

NOLINTNEXTLINE(readability-const-return-type)

Source from the content-addressed store, hash-verified

2154 template <typename Return, typename Guard, typename Func>
2155 // NOLINTNEXTLINE(readability-const-return-type)
2156 enable_if_t<!std::is_void<Return>::value, Return> call(Func &&f) && {
2157 return std::move(*this).template call_impl<remove_cv_t<Return>>(
2158 std::forward<Func>(f), indices{}, Guard{});
2159 }
2160
2161 template <typename Return, typename Guard, typename Func>
2162 enable_if_t<std::is_void<Return>::value, void_type> call(Func &&f) && {

Callers

nothing calls this directly

Calls 2

moveFunction · 0.85
void_typeClass · 0.85

Tested by

no test coverage detected