Title
Insert inconsistent definition
Status
nad
Section
[containers]
Submitter
AFNOR

Created on 1998-10-07.00:00:00 last changed 171 months ago

Messages

Date: 2010-10-21.18:28:33

Rationale:

This is not a defect in the Standard. It is a genetic misfortune of the design, for better or for worse.

Date: 1998-10-07.00:00:00

insert(iterator, const value_type&) is defined both on sequences and on set, with unrelated semantics: insert here (in sequences), and insert with hint (in associative containers). They should have different names (B.S. says: do not abuse overloading).

History
Date User Action Args
2010-10-21 18:28:33adminsetmessages: + msg244
1998-10-07 00:00:00admincreate