simstr 1.2.4
Yet another strings library
 
Loading...
Searching...
No Matches
simstr::Allocatorable Concept Reference

Concept of a memory management type. More...

#include <sstring.h>

Concept definition

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

Detailed Description

Concept of a memory management type.