MT Core (C++)
Core library for replacing C++ standard in project usage
Loading...
Searching...
No Matches
mtcore::AllocatorDeinit Concept Reference

Represents a type that has a deinit which takes an allocator (usually does memory cleanup) More...

#include <traits.hpp>

Concept definition

template<typename T>
concept mtcore::AllocatorDeinit = requires(T &t, Allocator &alloc) { t.deinit(alloc); }
Represents a type that has a deinit which takes an allocator (usually does memory cleanup)
Represents a memory allocator Exact behavior depends on the underlying VTable used Should use the a_*...

Detailed Description

Represents a type that has a deinit which takes an allocator (usually does memory cleanup)

Definition at line 131 of file core/mtcore/traits.hpp.