Ticket #6031 (closed Bugs: fixed)
bimap views don't contain "key_type" and "mapped_type" typedefs.
|Reported by:||Aaron Barany <akb825@…>||Owned by:||matias|
|Milestone:||To Be Determined||Component:||bimap|
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.