3#ifndef TETL_MEMORY_USES_ALLOCATOR_HPP
4#define TETL_MEMORY_USES_ALLOCATOR_HPP
13template <
typename Type,
typename Alloc,
typename =
void>
16template <
typename Type,
typename Alloc>
17struct uses_allocator_impl<Type, Alloc,
void_t<typename Type::allocator_type>>
18 : is_convertible<Alloc, typename Type::allocator_type>::type { };
23template <
typename Type,
typename Alloc>
28template <
typename Type,
typename Alloc>
void void_t
Definition void_t.hpp:10
Definition adjacent_find.hpp:8
constexpr auto uses_allocator_v
If T has a member typedef allocator_type which is convertible from Alloc, the member constant value i...
Definition uses_allocator.hpp:29
bool_constant< false > false_type
Definition bool_constant.hpp:14
static constexpr Type value
Definition integral_constant.hpp:10
integral_constant< Type, Val > type
Definition integral_constant.hpp:12
If T has a member typedef allocator_type which is convertible from Alloc, the member constant value i...
Definition uses_allocator.hpp:24