MCPcopy Create free account
hub / github.com/pybind/pybind11 / operator()

Method operator()

include/pybind11/pybind11.h:3346–3346  ·  view source on GitHub ↗

NOLINTNEXTLINE(readability-const-return-type) // PR #3263

Source from the content-addressed store, hash-verified

3344 using result_type = decltype(*std::declval<Iterator &>());
3345 // NOLINTNEXTLINE(readability-const-return-type) // PR #3263
3346 result_type operator()(Iterator &it) const { return *it; }
3347};
3348
3349template <typename Iterator, typename SFINAE = decltype((*std::declval<Iterator &>()).first)>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected