Index: boost/bimap/bimap.hpp =================================================================== --- boost/bimap/bimap.hpp (revision 57888) +++ boost/bimap/bimap.hpp (working copy) @@ -190,25 +190,28 @@ left_map::const_reference left_const_reference; typedef BOOST_DEDUCED_TYPENAME - right_map::reference right_reference; + right_map::reference right_reference; typedef BOOST_DEDUCED_TYPENAME right_map::const_reference right_const_reference; typedef BOOST_DEDUCED_TYPENAME base_::relation::info_type info_type; + typedef BOOST_DEDUCED_TYPENAME base_::core_type::allocator_type allocator_type; + /// Left map view left_map left; /// Right map view right_map right; - bimap() : + bimap(const allocator_type& al = allocator_type()) : base_::relation_set( ::boost::multi_index::get< BOOST_DEDUCED_TYPENAME base_::logic_relation_set_tag >(core) ), + core(al), left ( ::boost::multi_index::get< BOOST_DEDUCED_TYPENAME base_::logic_left_tag @@ -223,7 +226,7 @@ {} template< class InputIterator > - bimap(InputIterator first,InputIterator last) : + bimap(InputIterator first,InputIterator last,const allocator_type& al = allocator_type()) : base_::relation_set( ::boost::multi_index::get< @@ -231,7 +234,7 @@ >(core) ), - core(first,last), + core(first,last,al), left ( ::boost::multi_index::get<