Vc  0.7.5-dev
SIMD Vector Classes for C++
VectorAlignedBaseT< V > Class Template Reference

Detailed Description

template<typename V>
class Vc::VectorAlignedBaseT< V >

Helper class to ensure proper alignment.

This class reimplements the new and delete operators to align the allocated object suitably for vector data. Additionally the type is annotated to require that same alignment when placed on the stack.

This class differs from Vc::VectorAlignedBase in that the template parameter determines the alignment. The alignment rules for different vector types might be different. If you use Vc::VectorAlignedBase you will get the most restrictive alignment (i.e. it will work for all vector types, but might lead to unnecessary padding).

Template Parameters
VOne of the Vc vector types.
See Also
Vc::VectorAlignedBase

#include <dox.h>

Inherited by Memory< V, Size1, Size2 >, and Memory< V, Size, 0u >.