simstr 1.9.1
Yet another strings library
 
Loading...
Searching...
No Matches
simstr::AllocatableSized Concept Reference

Concept of a memory management type. More...

#include <sstring.h>

Concept definition

template<typename A>
concept simstr::AllocatableSized = requires(A& a, size_t size, void* void_ptr) {
{ a.allocate(size) } -> std::same_as<void*>;
{ a.deallocate(void_ptr, size) } noexcept -> std::same_as<void>;
}
Concept of a memory management type.
Definition sstring.h:1367

Detailed Description

Concept of a memory management type.