36 #ifndef NEKTAR_LIB_LIBUTILITES_SIMDLIB_ALLOCATOR_H
37 #define NEKTAR_LIB_LIBUTILITES_SIMDLIB_ALLOCATOR_H
39 #include <type_traits>
40 #include <boost/align/aligned_allocator.hpp>
47 template <typename T, typename = typename std::enable_if<is_vector<T>::value>::type>
48 using allocator = boost::alignment::aligned_allocator<T, T::alignment>;
boost::alignment::aligned_allocator< T, T::alignment > allocator