[Boost-bugs] [Boost C++ Libraries] #3665: Bimap and custom allocators

Subject: [Boost-bugs] [Boost C++ Libraries] #3665: Bimap and custom allocators
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-11-24 12:39:47


#3665: Bimap and custom allocators
--------------------------------------------+-------------------------------
 Reporter: gutierrez.gustavo@… | Owner: matias
     Type: Patches | Status: new
Milestone: Boost 1.42.0 | Component: bimap
  Version: Boost 1.41.0 | Severity: Problem
 Keywords: |
--------------------------------------------+-------------------------------
 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.

 Gustavo

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/3665>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:01 UTC