Concept to check if a type is a valid allocator for a given bucket type.
More...
#include <template_hash_array.h>
template<typename T, typename Bucket>
requires std::is_constructible_v<T>;
{ alloc.allocate(n) } -> std::same_as<Bucket*>;
{ alloc.deallocate(buckets, n) };
}
Concept to check if a type is a valid allocator for a given bucket type.
Definition template_hash_array.h:69
Concept to check if a type is a valid allocator for a given bucket type.
- Template Parameters
-
T | The allocator type. |
Bucket | The bucket type. |