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