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

Does this type have a destructor? More...

#include <ElementTraits.hpp>


Detailed Description

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

Does this type have a destructor?

Specializations will define MustDestruct to be true if element type T has a nontrivial destructor.

In the default case, covered here, MustDestruct is defined to false, signifying that no destructor call is required.

Template Parameters:
TA type capable of being used as the element type of an R data vector.
Note:
This metafunction is defined explicitly because the capabilities of boost::has_trivial_destructor are platform-dependent.

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