Boost logo

Boost Users :

Subject: Re: [Boost-users] [BGL] reducing memory requirements for adjacency list
From: Michael Olea (oleaj_at_[hidden])
Date: 2009-09-01 12:25:23


On Sep 1, 2009, at 7:51 AM, Jeremiah Willcock wrote:

>
>> 3) Is it possible to use boost pool allocators with the BGL? As far
>> as I can tell the BGL currently performs lots of small allocations -
>> I'd really like to avoid that for space and runtime efficiency
>> reasons.
>
> BGL does not currently support allocators. There is a Trac ticket
> requesting this feature, but I do not believe anyone is working on it.

Pages 232 and 233 of the BGL book provide an example of how to use
the container_gen class to specify an allocator type.



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