μHAL (v2.8.17)
Part of the IPbus software repository
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Static Public Member Functions | List of all members
holder_helper< T > Struct Template Reference

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())
 

Detailed Description

template<typename T>
struct holder_helper< T >

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.

Definition at line 740 of file cast.h.

Member Function Documentation

◆ get() [1/2]

template<typename T >
static auto holder_helper< T >::get ( const T &  p) -> decltype(p.get())
inlinestatic

◆ get() [2/2]

template<typename T >
static auto holder_helper< T >::get ( const T &  p) -> decltype(p.get())
inlinestatic

Definition at line 734 of file cast.h.


The documentation for this struct was generated from the following files: