Go to the documentation of this file. 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>
37 #endif // DUNE_ISTL_ALLOCATOR_HH
Definition: allocator.hh:27
Definition: allocator.hh:10
static const bool value
Definition: allocator.hh:11
typename AllocatorTraits< T >::type::template rebind< X >::other ReboundAllocatorType
Definition: allocator.hh:33
std::allocator< T > type
Definition: allocator.hh:17
Definition: allocator.hh:7
typename AllocatorTraits< T >::type AllocatorType
Definition: allocator.hh:30
Definition: allocator.hh:15
typename T::allocator_type type
Definition: allocator.hh:23