cppyabm  1.0.17
An agent-based library to integrate C++ and Python
Static Public Member Functions | List of all members
holder_helper< T > Struct Template Reference

#include <cast.h>

Static Public Member Functions

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 1523 of file cast.h.

Member Function Documentation

◆ get()

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

Definition at line 1524 of file cast.h.


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