3 #ifndef DUNE_ISTL_ALLOCATOR_HH 4 #define DUNE_ISTL_ALLOCATOR_HH 9 #include <dune/common/typetraits.hh> 18 template<
typename T,
typename =
void>
21 using type = std::allocator<T>;
27 using type =
typename T::allocator_type;
36 template<
typename T,
typename X>
37 using ReboundAllocatorType =
typename std::allocator_traits<typename AllocatorTraits<T>::type>::template rebind_alloc<X>;
41 #endif // DUNE_ISTL_ALLOCATOR_HH Definition: allocator.hh:19
typename T::allocator_type type
Definition: allocator.hh:27
typename AllocatorTraits< T >::type AllocatorType
Definition: allocator.hh:34
static const bool value
Definition: allocator.hh:15
std::allocator< T > type
Definition: allocator.hh:21
Definition: allocator.hh:31
Definition: allocator.hh:14
typename std::allocator_traits< typename AllocatorTraits< T >::type >::template rebind_alloc< X > ReboundAllocatorType
Definition: allocator.hh:37
Definition: allocator.hh:11