allocator test rig.
More...
#include <allocator_checker.h>
|
typedef std::map< void *, size_t > | Allocs |
|
allocator test rig.
call from each allocator operation to sanity-check them. should only be used during debug mode due to serious overhead.
◆ Allocs
◆ OnAllocate()
void AllocatorChecker::OnAllocate |
( |
void * |
p, |
|
|
size_t |
size |
|
) |
| |
|
inline |
◆ OnClear()
void AllocatorChecker::OnClear |
( |
| ) |
|
|
inline |
allocator is resetting itself, i.e.
wiping out all allocs.
◆ OnDeallocate()
void AllocatorChecker::OnDeallocate |
( |
void * |
p, |
|
|
size_t |
size |
|
) |
| |
|
inline |
◆ allocs
Allocs AllocatorChecker::allocs |
|
private |
The documentation for this class was generated from the following file: