Ticket #3665 (closed Patches: fixed)
Bimap and custom allocators
|Reported by:||gutierrez.gustavo@…||Owned by:||matias|
In the current implementation of bimap there is no way to specify a custom allocator. It is documented as a feature but not implemented. Custom allocators were considered in the design of bimap (they are considered as a template parameter) but not implemented. The attached patch solves the problem by modifying two constructors of bimap class and adding an allocator as an optional parameter. The patch is against the svn boost sources.
Hope this helps.