API documentation  2.0rc1
Public Member Functions | Public Attributes | List of all members
cheerp::ArrayRef< T > Class Template Reference

#include <client.h>

Public Member Functions

 ArrayRef (T *o)
 
T * operator-> ()
 
const T * operator-> () const
 

Public Attributes

decltype((*obj) operator[] [0])(int index)
 
decltype((*static_cast< const T * >(obj)) operator[] [0])(int index) const
 

Constructor & Destructor Documentation

◆ ArrayRef()

template<class T >
cheerp::ArrayRef< T >::ArrayRef ( T *  o)
inline

Member Function Documentation

◆ operator->() [1/2]

template<class T >
T* cheerp::ArrayRef< T >::operator-> ( )
inline

◆ operator->() [2/2]

template<class T >
const T* cheerp::ArrayRef< T >::operator-> ( ) const
inline

Member Data Documentation

◆ operator[] [1/2]

template<class T >
decltype((*obj) cheerp::ArrayRef< T >::operator[][0])(int index)
inline

◆ operator[] [2/2]

template<class T >
decltype((*static_cast<const T*>(obj)) cheerp::ArrayRef< T >::operator[][0])(int index) const
inline