Opened 7 years ago
Closed 7 years ago
#11995 closed Feature Requests (duplicate)
Deduce key type from return type of key extractor
Reported by: | Owned by: | Ion Gaztañaga | |
---|---|---|---|
Milestone: | To Be Determined | Component: | intrusive |
Version: | Boost 1.60.0 | Severity: | Optimization |
Keywords: | Cc: |
Description
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()
.
Note:
See TracTickets
for help on using tickets.
Duplicate of Trac 11996