1 Sep
2009
1 Sep
'09
4:25 p.m.
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.