1 #ifndef DUNE_ISTL_ALLOCATOR_HH
2 #define DUNE_ISTL_ALLOCATOR_HH
4 #include <dune/common/typetraits.hh>
14 template<
typename T,
typename =
void>
17 using type = std::allocator<T>;
23 using type =
typename T::allocator_type;
32 template<
typename T,
typename X>
33 using ReboundAllocatorType =
typename std::allocator_traits<typename AllocatorTraits<T>::type>::template rebind_alloc<X>;
Definition: allocator.hh:7
typename std::allocator_traits< typename AllocatorTraits< T >::type >::template rebind_alloc< X > ReboundAllocatorType
Definition: allocator.hh:33
typename AllocatorTraits< T >::type AllocatorType
Definition: allocator.hh:30
Definition: allocator.hh:10
static const bool value
Definition: allocator.hh:11
Definition: allocator.hh:16
std::allocator< T > type
Definition: allocator.hh:17
typename T::allocator_type type
Definition: allocator.hh:23
Definition: allocator.hh:27