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>;
Definition allocator.hh:11
typename std::allocator_traits< typename AllocatorTraits< T >::type >::template rebind_alloc< X > ReboundAllocatorType
Definition allocator.hh:37
typename AllocatorTraits< T >::type AllocatorType
Definition allocator.hh:34
Definition allocator.hh:14
static const bool value
Definition allocator.hh:15
Definition allocator.hh:20
std::allocator< T > type
Definition allocator.hh:21
typename T::allocator_type type
Definition allocator.hh:27
Definition allocator.hh:31