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

Function object for detaching referents. More...

#include <ElementTraits.hpp>

List of all members.

Public Member Functions

void operator() (T &t) const
 Detach the referents of a T.

Detailed Description

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

Function object for detaching referents.

For element types for which HasReferents is true, this struct will be specialized into a function object which will detach the referents of a particular element t .

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

Member Function Documentation

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

Detach the referents of a T.

Parameters:
tReference to the T object whose referents are to be detached.

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