CXXR (C++ R) API
|
Function object for detaching referents. More...
#include <ElementTraits.hpp>
Public Member Functions | |
void | operator() (T &t) const |
Detach the referents of a 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 .
T | A type capable of being used as the element type of an R data vector. |
|
inline |
Detach the referents of a T.
t | Reference to the T object whose referents are to be detached. |