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

Method try_implicit_casts

include/pybind11/cast.h:936–938  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

934 template <typename T = holder_type,
935 detail::enable_if_t<!std::is_constructible<T, const T &, type *>::value, int> = 0>
936 bool try_implicit_casts(handle, bool) {
937 return false;
938 }
939
940 template <typename T = holder_type,
941 detail::enable_if_t<std::is_constructible<T, const T &, type *>::value, int> = 0>

Callers

nothing calls this directly

Calls 1

loadMethod · 0.45

Tested by

no test coverage detected