$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
Subject: [boost] Boost memory debugging allocator?
From: Beman Dawes (bdawes_at_[hidden])
Date: 2011-06-19 15:39:45
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