
19 Jun
2011
19 Jun
'11
7:39 p.m.
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