Opened 7 years ago

#11407 new Feature Requests

Boost.Container does not provide hash_value

Reported by: Rainer Deyke <rainerd@…> Owned by: Ion Gaztañaga
Milestone: To Be Determined Component: container
Version: Boost 1.58.0 Severity: Problem
Keywords: Cc:

Description

Boost.Hash provides overloads of hash_value for standard containers, but not for their Boost.Container equivalents. Conversely, Boost.Container also does not provide hash_value overloads for use with Boost.Hash. This prevents boost::container::vector from being used as a drop-in replacement for std::vector, since boost::unordered_map<std::vector<int>, int> is valid but boost::unordered_map<boost::container::vector<int>, int> is not.

Change History (0)

Note: See TracTickets for help on using tickets.