CXXR (C++ R)
Public Member Functions
CXXR::ElementTraits::VisitReferents< T > Struct Template Reference

Function object for visiting referents. More...

#include <ElementTraits.hpp>

List of all members.

Public Member Functions

 VisitReferents (GCNode::const_visitor *v)
 Constructor.
void operator() (const T &t) const
 Apply the function.

Detailed Description

template<typename T>
struct CXXR::ElementTraits::VisitReferents< T >

Function object for visiting referents.

For element types for which HasReferents::TruthType is True, this struct will be specialized into a function object which will conduct a visitor v to the referents of a particular element t .

Template Parameters:
TA type capable of being used as the element type of an R data vector.

Constructor & Destructor Documentation

template<typename T >
CXXR::ElementTraits::VisitReferents< T >::VisitReferents ( GCNode::const_visitor v)
inline

Constructor.

Parameters:
vNon-null pointer to the visitor object to be applied by the function object constructed.

Member Function Documentation

template<typename T >
void CXXR::ElementTraits::VisitReferents< T >::operator() ( const T &  t) const
inline

Apply the function.

Parameters:
tObject to which the function is to be applied.

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