[Boost-bugs] [Boost C++ Libraries] #11995: Deduce key type from return type of key extractor

Subject: [Boost-bugs] [Boost C++ Libraries] #11995: Deduce key type from return type of key extractor
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-02-17 04:32:24


#11995: Deduce key type from return type of key extractor
------------------------------+--------------------------
 Reporter: fdegros@… | Owner: igaztanaga
     Type: Feature Requests | Status: new
Milestone: To Be Determined | Component: intrusive
  Version: Boost 1.60.0 | Severity: Optimization
 Keywords: |
------------------------------+--------------------------
 The "key extractor" passed to `key_of_value` must specify the key type as
 a nested `type` definition and the `operator()` that extracts the key of a
 `value_type`.

 I think the nested `type` definition is redundant and could be determined
 from the returned type of the key extraction `operator()`.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/11995>
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