|
CXXR (C++ R)
|
Function object for visiting referents. More...
#include <ElementTraits.hpp>
Public Member Functions | |
| VisitReferents (GCNode::const_visitor *v) | |
| Constructor. | |
| void | operator() (const T &t) const |
| Apply the function. | |
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 .
| T | A type capable of being used as the element type of an R data vector. |
|
inline |
Constructor.
| v | Non-null pointer to the visitor object to be applied by the function object constructed. |
|
inline |
Apply the function.
| t | Object to which the function is to be applied. |
1.8.1