4#ifndef TETL_MEMORY_USES_ALLOCATOR_HPP
5#define TETL_MEMORY_USES_ALLOCATOR_HPP
7#include <etl/_type_traits/bool_constant.hpp>
8#include <etl/_type_traits/is_convertible.hpp>
9#include <etl/_type_traits/void_t.hpp>
14template <
typename Type,
typename Alloc,
typename =
void>
15struct uses_allocator_impl : false_type { };
17template <
typename Type,
typename Alloc>
18struct uses_allocator_impl<Type, Alloc, void_t<
typename Type::allocator_type>>
24template <
typename Type,
typename Alloc>
Definition adjacent_find.hpp:9
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:30
If the imaginary function definition To test() { return etl::declval<From>(); } is well-formed,...
Definition is_convertible.hpp:45
If T has a member typedef allocator_type which is convertible from Alloc, the member constant value i...
Definition uses_allocator.hpp:25