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

Method load

include/pybind11/cast.h:887–889  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

885 using base::value;
886
887 bool load(handle src, bool convert) {
888 return base::template load_impl<copyable_holder_caster<type, holder_type>>(src, convert);
889 }
890
891 explicit operator type *() { return this->value; }
892 // static_cast works around compiler error with MSVC 17 and CUDA 10.2

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected