[Boost-bugs] [Boost C++ Libraries] #6031: bimap views don't contain "key_type" and "mapped_type" typedefs.

Subject: [Boost-bugs] [Boost C++ Libraries] #6031: bimap views don't contain "key_type" and "mapped_type" typedefs.
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-10-17 22:33:03


#6031: bimap views don't contain "key_type" and "mapped_type" typedefs.
---------------------------------------------+------------------------------
 Reporter: Aaron Barany <akb825@…> | Owner: matias
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: bimap
  Version: Boost 1.47.0 | Severity: Problem
 Keywords: |
---------------------------------------------+------------------------------
 The bimap views, such as "set_of" and "unordered_set_of" contain the
 "value_type" typedef for the pair type they store, but don't contain the
 "key_type" and "mapped_type" typedefs. These typedefs are present in all
 the standard mapping data structures such as std::map and
 boost::unordered_map. Any code that expects these typedefs to be present
 will work correctly when used with standard map types, but will fail when
 they are used with the left or right view of a bimap.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/6031>
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:07 UTC