CXXR (C++ R) API
CXXR::ElementTraits::HasReferents< T > Struct Template Reference

Do elements of this type refer to GCNode objects? More...

#include <ElementTraits.hpp>


Detailed Description

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

Do elements of this type refer to GCNode objects?

Specializations will define HasReferents to be true if objects of element type T may incorporate references or (more likely) pointers to GCNode objects. Such types will also specialize the VisitReferents and DetachReferents function object types.

In the default case, covered here, HasReferents is defined to false, signifying that no special handling regarding garbage collection is required.

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

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