35#ifndef _BLAZE_MATH_TYPETRAITS_DYNAMICALLOCATOR_H_
36#define _BLAZE_MATH_TYPETRAITS_DYNAMICALLOCATOR_H_
93template<
typename A1,
typename... As >
99 template<
typename U >
112template<
typename T >
115 template<
typename U >
127template<
typename T >
128struct DynamicAllocator< NullAllocator<T> >
130 template<
typename U >
131 using Type = AlignedAllocator<U>;
142template<
typename T1,
typename T2 >
143struct DynamicAllocator< AlignedAllocator<T1>, AlignedAllocator<T2> >
145 template<
typename U >
146 using Type = AlignedAllocator<U>;
157template<
typename A1,
typename T2 >
158struct DynamicAllocator< A1, NullAllocator<T2> >
160 template<
typename U >
161 using Type =
typename std::allocator_traits<A1>::template rebind_alloc<U>;
172template<
typename A2,
typename T1 >
173struct DynamicAllocator< NullAllocator<T1>, A2 >
175 template<
typename U >
176 using Type =
typename std::allocator_traits<A2>::template rebind_alloc<U>;
187template<
typename T1,
typename T2 >
188struct DynamicAllocator< NullAllocator<T1>, NullAllocator<T2> >
190 template<
typename U >
191 using Type = AlignedAllocator<U>;
210template<
typename T,
typename... As >
Header file for the AlignedAllocator implementation.
Header file for the NullAllocator implementation.
Allocator for type-specific aligned memory.
Definition: AlignedAllocator.h:72
Allocator returning nullptr.
Definition: NullAllocator.h:66
typename DynamicAllocator< As... >::template Type< T > DynamicAllocator_t
Auxiliary alias declaration for the DynamicAllocator type trait.
Definition: DynamicAllocator.h:211
Deduction of an allocator type for dynamic vectors and matrices.
Definition: DynamicAllocator.h:95