Template Struct aligned_vector

Inheritance Relationships

Base Type

  • public std::vector< T, Eigen::aligned_allocator< T > >

Struct Documentation

template<typename T>
struct aligned_vector : public std::vector<T, Eigen::aligned_allocator<T>>

Specialization of an std::vector with an aligned allocator. This specialization might be used when the type T is or contains some Eigen members.

Template Parameters:

T – Type of the elements.

Public Types

typedef ::std::vector<T, Eigen::aligned_allocator<T>> vector_base
typedef const vector_base &const_vector_base_ref
typedef vector_base &vector_base_ref
typedef T value_type
typedef vector_base::allocator_type allocator_type
typedef vector_base::size_type size_type
typedef vector_base::iterator iterator

Public Functions

inline explicit aligned_vector(const allocator_type &a = allocator_type())
template<typename InputIterator>
inline aligned_vector(InputIterator first, InputIterator last, const allocator_type &a = allocator_type())
inline aligned_vector(const aligned_vector &c)
inline explicit aligned_vector(size_type num, const value_type &val)
inline explicit aligned_vector(size_type num)
inline aligned_vector(iterator start, iterator end)
inline aligned_vector &operator=(const aligned_vector &x)
inline vector_base &base()
inline const vector_base &base() const