Subject: Re: [Boost-bugs] [Boost C++ Libraries] #12919: multi_index indexed with hashed_non_unique produces buffer overrun.
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2017-03-22 10:14:07
#12919: multi_index indexed with hashed_non_unique produces buffer overrun.
----------------------------------------+-------------------------
Reporter: Alex Huszagh <ahuszagh@â¦> | Owner: joaquin
Type: Bugs | Status: new
Milestone: To Be Determined | Component: multi_index
Version: Boost 1.63.0 | Severity: Problem
Resolution: | Keywords: multi_index
----------------------------------------+-------------------------
Comment (by joaquin):
{{{
std::set<my_item, my_item_hash> set;
}}}
This looks very weird to me: `std::set` expects a strict weak order-
inducing binary predicate as its second template parameter, yet you are
passing a hash functor. How can this even compile?
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/12919#comment:5> 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-03-22 10:17:36 UTC