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

Quick proxy class needed to implement operator-> for iterators which can't return pointers. More...

#include <pytypes.h>

Public Member Functions

 arrow_proxy (T &&value)
 
T * operator-> () const
 

Public Attributes

value
 

Detailed Description

template<typename T>
struct arrow_proxy< T >

Quick proxy class needed to implement operator-> for iterators which can't return pointers.

Definition at line 662 of file pytypes.h.

Constructor & Destructor Documentation

◆ arrow_proxy()

template<typename T >
arrow_proxy< T >::arrow_proxy ( T &&  value)
inline

Definition at line 665 of file pytypes.h.

Member Function Documentation

◆ operator->()

template<typename T >
T* arrow_proxy< T >::operator-> ( ) const
inline

Definition at line 666 of file pytypes.h.

Member Data Documentation

◆ value

template<typename T >
T arrow_proxy< T >::value

Definition at line 663 of file pytypes.h.


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