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

Method implicit_cast

include/pybind11/cast.h:798–800  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

796protected:
797 template <size_t... Is>
798 type implicit_cast(index_sequence<Is...>) & {
799 return type(cast_op<Ts>(std::get<Is>(subcasters))...);
800 }
801 template <size_t... Is>
802 type implicit_cast(index_sequence<Is...>) && {
803 return type(cast_op<Ts>(std::move(std::get<Is>(subcasters)))...);

Callers 1

tuple_casterClass · 0.80

Calls 2

moveFunction · 0.85
typeClass · 0.70

Tested by

no test coverage detected