Opened 7 years ago

Closed 4 years ago

#11780 closed Feature Requests (fixed)

Boost.Container support for transparent comparators

Reported by: Tavian Barnes <tavianator@…> Owned by: Ion Gaztañaga
Milestone: To Be Determined Component: container
Version: Boost 1.59.0 Severity: Problem
Keywords: Cc:

Description

C++14 introduced[1] "transparent comparators" that allow looking things up in associative containers without necessarily constructing a key object. It would be nice to have them in boost::container::[flat_]{map,set}.

[1]: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2013/n3657.htm

Change History (1)

comment:1 by Ion Gaztañaga, 4 years ago

Resolution: fixed
Status: newclosed

Better late than never. Commit:

https://github.com/boostorg/container/commit/48c21e3187cd95b42803efe297842b52c896090e

Many thanks for the report.

Note: See TracTickets for help on using tickets.