Subject: [Boost-bugs] [Boost C++ Libraries] #11992: Add an overload of insert_check taking a key_type
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-02-17 02:57:54
#11992: Add an overload of insert_check taking a key_type
------------------------------+------------------------
Reporter: fdegros@⦠| Owner: igaztanaga
Type: Feature Requests | Status: new
Milestone: To Be Determined | Component: intrusive
Version: Boost 1.60.0 | Severity: Problem
Keywords: |
------------------------------+------------------------
The different flavors of intrusive set don't seem to have an
`insert_check` method that takes a `key_type` directly and uses the
container's key comparator and/or hasher.
It would be convenient to add this method:
{{{#!c++
std::pair<iterator, bool>
insert_check(const key_type&, insert_commit_data&);
}}}
That would also be consistent with the way the methods `find`,
`lower_bound`, `upper_bound`, `equal_range` and `erase` work.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/11992> 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:19 UTC