1 #ifndef DUNE_ISTL_ALLOCATOR_HH
2 #define DUNE_ISTL_ALLOCATOR_HH
7 #include <dune/common/typetraits.hh>
16 template<
typename T,
typename =
void>
19 using type = std::allocator<T>;
25 using type =
typename T::allocator_type;
34 template<
typename T,
typename X>
35 using ReboundAllocatorType =
typename std::allocator_traits<typename AllocatorTraits<T>::type>::template rebind_alloc<X>;
Definition: allocator.hh:9
typename std::allocator_traits< typename AllocatorTraits< T >::type >::template rebind_alloc< X > ReboundAllocatorType
Definition: allocator.hh:35
typename AllocatorTraits< T >::type AllocatorType
Definition: allocator.hh:32
Definition: allocator.hh:12
static const bool value
Definition: allocator.hh:13
Definition: allocator.hh:18
std::allocator< T > type
Definition: allocator.hh:19
typename T::allocator_type type
Definition: allocator.hh:25
Definition: allocator.hh:29