Boost logo

Boost Users :

Subject: Re: [Boost-users] How to manage the internal memory allocation in boost libraries?
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2010-09-10 07:05:46


On 10/09/2010 10:04, Tang Jiang Jun wrote:
> Hello,
>
> I am seeking a way to manage the internal memory allocation in boost
> libraries, and it seems that most of boost libraries do not support
> allocator parameter, so they can not be handled like STL library.

What libraries are you thinking of?

> But for my project, our memory management need to control all the memory
> allocation even it happens in the third-party libraries.
> Could somebody give me some suggestions to accomplish that?

You could redefine operator new.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net