xtensor
Loading...
Searching...
No Matches
xt::aligned_array< T, N, Align > Class Template Reference

This array class is modeled after std::array but adds optional alignment through a template parameter. More...

#include <xstorage.hpp>

Inheritance diagram for xt::aligned_array< T, N, Align >:

Public Types

using allocator_type = std::conditional_t<Align != 0, xt_simd::aligned_allocator<T, Align>, std::allocator<T>>
 

Detailed Description

template<class T, std::size_t N, std::size_t Align = ( 0 != 0 ? 0 : alignof( T ))>
class xt::aligned_array< T, N, Align >

This array class is modeled after std::array but adds optional alignment through a template parameter.

To be moved to xtl, along with the rest of xstorage.hpp

Definition at line 1429 of file xstorage.hpp.

Member Typedef Documentation

◆ allocator_type

template<class T , std::size_t N, std::size_t Align = ( 0 != 0 ? 0 : alignof( T ))>
using xt::aligned_array< T, N, Align >::allocator_type = std::conditional_t<Align != 0, xt_simd::aligned_allocator<T, Align>, std::allocator<T>>

Definition at line 1435 of file xstorage.hpp.


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