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

Do elements of this type require construction? More...

#include <ElementTraits.hpp>


Detailed Description

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

Do elements of this type require construction?

Specializations will define MustConstruct to be true if element type T has a nontrivial default constructor.

In the default case, covered here, MustConstruct is defined to false, signifying that no construction 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_constructor are platform-dependent.

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