Searched refs:caster (Results 1 - 4 of 4) sorted by relevance

/gem5/ext/pybind11/include/pybind11/
H A Dattr.h257 PYBIND11_NOINLINE void add_base(const std::type_info &base, void *(*caster)(void *)) {
280 if (caster)
281 base_info->implicit_casts.emplace_back(type, caster);
H A Dstl.h261 // This type caster is intended to be used for std::optional and std::experimental::optional
331 /// Generic variant caster
340 auto caster = make_caster<U>(); local
341 if (caster.load(src, convert)) {
342 value = cast_op<U>(caster);
H A Dcast.h568 // Base methods for generic caster; there are overridden in copyable_holder_caster
608 auto caster = type_caster_generic(ti); local
609 if (caster.load(src, false))
610 return caster.value;
742 * Determine suitable casting operator for pointer-or-lvalue-casting type casters. The type caster
755 * Determine suitable casting operator for a type caster with a movable value. Such a type caster
825 /// Generic type caster for objects stored on the heap
914 // Shortcut for calling a caster's `cast_op_type` cast operator for casting a type_caster to a T
915 template <typename T> typename make_caster<T>::template cast_op_type<T> cast_op(make_caster<T> &caster) {
[all...]
H A Dpybind11.h1167 detail::make_caster<type> caster;
1168 if (!caster.load(obj, false))
1170 return new buffer_info(((capture *) ptr)->func(caster));
2100 static pybind11::detail::overload_caster_t<ret_type> caster; \
2101 return pybind11::detail::cast_ref<ret_type>(std::move(o), caster); \

Completed in 22 milliseconds