HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
apex::VariadicArg< T >::IndirectRange< IterT > Class Template Reference

#include <APEX_Include.h>

Public Types

using value_type = T
 

Public Member Functions

exint size () const
 
T & operator[] (exint index)
 
const T & operator[] (exint index) const
 

Friends

class VariadicArg< T >
 

Detailed Description

template<typename T>
template<typename IterT>
class apex::VariadicArg< T >::IndirectRange< IterT >

A minimal array like adaptor which dereferences the VariadicArgs data before returning it. This can be useful to write generic code which deals either with VariadicArgs or ApexArrays. Note: Not compatible with ranged based for loops

Definition at line 182 of file APEX_Include.h.

Member Typedef Documentation

template<typename T >
template<typename IterT >
using apex::VariadicArg< T >::IndirectRange< IterT >::value_type = T

Definition at line 185 of file APEX_Include.h.

Member Function Documentation

template<typename T >
template<typename IterT >
T& apex::VariadicArg< T >::IndirectRange< IterT >::operator[] ( exint  index)
inline

Definition at line 192 of file APEX_Include.h.

template<typename T >
template<typename IterT >
const T& apex::VariadicArg< T >::IndirectRange< IterT >::operator[] ( exint  index) const
inline

Definition at line 197 of file APEX_Include.h.

template<typename T >
template<typename IterT >
exint apex::VariadicArg< T >::IndirectRange< IterT >::size ( ) const
inline

Definition at line 187 of file APEX_Include.h.

Friends And Related Function Documentation

template<typename T >
template<typename IterT >
friend class VariadicArg< T >
friend

Definition at line 203 of file APEX_Include.h.


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