nngn
Loading...
Searching...
No Matches
nngn::alloc_tracker Concept Reference

Describes how allocations of a particular type are tracked. More...

#include <tracking.h>

Concept definition

template<typename T>
requires(T t, typename T::pointer p, std::size_t n) {
typename T::value_type;
typename T::pointer;
typename T::template rebind<empty>;
t.allocate(p, n);
t.deallocate(p, n);
}
&& (!requires { T::reallocate; } || detail::tracker_with_realloc<T>)
Describes how allocations of a particular type are tracked.
Definition: tracking.h:35
n
Definition: dump_lights.lua:5
p
Definition: input.lua:29
#define T(f0, f1, f2)

Detailed Description

Describes how allocations of a particular type are tracked.

See also
nngn::tracking_allocator
nngn::alloc_block