nngn
Loading...
Searching...
No Matches
nngn::detail::tracker_with_realloc Concept Reference

Checks whether the tracker object tracks memory relocation. More...

#include <tracking.h>

Concept definition

template<typename T>
requires(T t, typename T::pointer p, std::size_t n) {
t.reallocate_pre(p, n);
t.reallocate(p, n);
}
Checks whether the tracker object tracks memory relocation.
Definition tracking.h:21
local n
Definition dump_lights.lua:5
#define T(f0, f1, f2)

Detailed Description

Checks whether the tracker object tracks memory relocation.

The allocator must obviously also support this operation (see nngn::detail::has_realloc).

See also
nngn::alloc_tracker