This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of Resolved status.
Section: 21.2.6 [associative.reqmts], 21.2.7 [unord.req] Status: Resolved Submitter: Daniel James Opened: 2016-11-24 Last modified: 2017-02-02
Priority: Not Prioritized
View other active issues in [associative.reqmts].
View all other issues in [associative.reqmts].
View all issues with Resolved status.
The requirements for associative and unordered associative containers list insert_return_type for all containers, but looking at the class description in 184.108.40.206 [map.overview], 220.127.116.11 [multimap.overview] etc. it's only defined for containers with unique keys. Jonathan Wakely pointed out that this depends on the resolution of LWG 2772, which might remove insert_return_type completely.A possible resolution would be to put in 21.2.6 [associative.reqmts]: 'insert_return_type ' and in 21.2.7 [unord.req]: 'insert_return_type '. Or maybe something like '(containers with unique keys only)'.
[Issues Telecon 16-Dec-2016]
Resolved by adoption of P0508R0.