Ticket #11992 (closed Feature Requests: fixed)
Add an overload of insert_check taking a key_type
|Reported by:||fdegros@…||Owned by:||igaztanaga|
|Milestone:||To Be Determined||Component:||intrusive|
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:
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.