Type caster for holder types like std::unique_ptr. More...
#include </builds/ipbus/ipbus-software/uhal/python/pybind11-python2/include/pybind11/cast.h>
Static Public Member Functions | |
static handle | cast (holder_type &&src, return_value_policy, handle) |
static handle | cast (holder_type &&src, return_value_policy, handle) |
Static Public Attributes | |
static constexpr auto | name = type_caster_base<type>::name |
Type caster for holder types like std::unique_ptr.
Please consider the SFINAE hook an implementation detail, as explained in the comment for the copyable_holder_caster.
|
inlinestatic |
Definition at line 836 of file cast.h.
References type_caster_base< type >::cast_holder(), and holder_helper< T >::get().
|
inlinestatic |
Definition at line 830 of file cast.h.
References type_caster_base< type >::cast_holder(), and holder_helper< T >::get().
|
staticconstexpr |