Title
Missing constant for set elements
Status
nad
Section
[associative.reqmts]
Submitter
Nico Josuttis

Created on 1998-09-29.00:00:00 last changed 171 months ago

Messages

Date: 2010-10-21.18:28:33

Rationale:

Not a defect. The Standard is correct as written; it uses a different mechanism (const &) for set and multiset. See issue 103 for a related issue.

Date: 1998-09-29.00:00:00

Paragraph 5 specifies:

For set and multiset the value type is the same as the key type. For map and multimap it is equal to pair<const Key, T>.

Strictly speaking, this is not correct because for set and multiset the value type is the same as the constant key type.

History
Date User Action Args
2010-10-21 18:28:33adminsetmessages: + msg188
1998-09-29 00:00:00admincreate