NexusForce 1.0.0
A Modern C++ Library with extended functionality, web components, and utility libraries
载入中...
搜索中...
未找到
trace_memory.hpp 文件参考

内存追踪分配器 更多...

trace_memory.hpp 的引用(Include)关系图:

浏览该文件的源代码.

class  trace_allocator< T >
 内存追踪分配器 更多...
struct  trace_allocator< T >::rebind< U >
 分配器绑定模板 更多...

函数

template<typename T, typename U>
bool operator== (const trace_allocator< T > &lhs, const trace_allocator< U > &rhs) noexcept
 相等比较运算符
template<typename T, typename U>
bool operator!= (const trace_allocator< T > &lhs, const trace_allocator< U > &rhs) noexcept
 不等比较运算符

详细描述

内存追踪分配器

此文件提供了用于内存泄漏检测的追踪分配器实现。 通过记录每次内存分配的调用栈,在程序结束时检测并报告未释放的内存。 主要用于调试和测试阶段的内存问题诊断。

在文件 trace_memory.hpp 中定义.