Helper class which abstracts away certain actions. More...
#include </builds/ipbus/ipbus-software/uhal/python/pybind11-python2/include/pybind11/cast.h>
Static Public Member Functions | |
static auto | get (const T &p) -> decltype(p.get()) |
static auto | get (const T &p) -> decltype(p.get()) |
Helper class which abstracts away certain actions.
Users can provide specializations for custom holders, but it's only necessary if the type has a non-standard interface.
|
inlinestatic |
Definition at line 741 of file cast.h.
Referenced by copyable_holder_caster< type, holder_type, SFINAE >::cast(), and move_only_holder_caster< type, holder_type, SFINAE >::cast().
|
inlinestatic |