1#ifndef LIBSBX_MEMORY_CONCEPTS_HPP_
2#define LIBSBX_MEMORY_CONCEPTS_HPP_
9template<
typename Allocator,
typename Type>
10concept allocator_for = std::is_same_v<typename std::allocator_traits<Allocator>::value_type, Type>;
12template<
typename Allocator,
typename Type>
14 using type =
typename std::allocator_traits<Allocator>::rebind_alloc<Type>;
17template<
typename Allocator,
typename Type>
18using rebound_allocator_t = rebound_allocator<Allocator, Type>::type;
Definition: concepts.hpp:13