Vc  1.3.3-dev
SIMD Vector Classes for C++
has_no_allocated_data< T > Struct Template Reference

Detailed Description

template<typename T>
struct Vc::Traits::has_no_allocated_data< T >

Type trait that tells whether a container stores its data inside the object or inside allocated memory outside of the object.

Per default the trait assumes any type to store its data outside, on the heap. The only types where it knows that the storage is inside the object are std::array, Vc::array, and T[] (builtin arrays).

The trait forwards the actual decision to has_no_allocated_data_impl, but removes const/volatile and references from the type T to make the number of required specializations of has_no_allocated_data_impl minimal.

Definition at line 70 of file has_no_allocated_data.h.

#include <has_no_allocated_data.h>

Inherits has_no_allocated_data_impl< std::remove_cv< std::remove_reference< T >::type >::type >.


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