Boost memory debugging allocator?

Does Boost have a memory debugging and measuring allocator? Something like Howard describes in http://tinyurl.com/67764p7:
What will it do for you?
* It will detect whole program memory leaks. * It will detect "delete on new[]" or "delete[] on new" mismatch. * It will detect double deletes and non-heap based pointer deletes. * You can query it for how much memory is used at any point. * Because of the previous point, you can bracket a function call with usage queries to find out "memory leaked" for that call. * You can query a new-based pointer for how much memory it points to. * Performance is quite respectible for a memory debugger (but it is not intended for release code).
Thanks, --Beman

On 19 June 2011 20:39, Beman Dawes <bdawes@acm.org> wrote:
Does Boost have a memory debugging and measuring allocator? Something like Howard describes in http://tinyurl.com/67764p7:
I wrote a similar allocator for unordered, and it is very useful, but perhaps not general purpose. It only has a fraction of the features Howard described. Although I think it also tests if containers handle unequal allocators correctly. I wouldn't describe it as 'boost quality' though. http://www.boost.org/doc/libs/1_46_1/libs/unordered/test/objects/test.hpp http://www.boost.org/doc/libs/1_46_1/libs/unordered/test/helpers/memory.hpp
participants (2)
-
Beman Dawes
-
Daniel James