Title
`flat_set::erase(iterator)` is underconstrained
Status
wp
Section
[flat.set.defn] [flat.multiset.defn]
Submitter
Hewill Kang

Created on 2025-09-25.00:00:00 last changed 1 month ago

Messages

Date: 2025-11-11.10:48:16

Proposed resolution:

This wording is relative to N5014.

  1. Modify [flat.set.defn] as indicated:

    iterator erase(iterator position) requires (!same_as<iterator, const_iterator>);
    iterator erase(const_iterator position);
    
  2. Modify [flat.multiset.defn] as indicated:

    iterator erase(iterator position) requires (!same_as<iterator, const_iterator>);
    iterator erase(const_iterator position);
    
Date: 2025-11-11.10:48:16

[ Kona 2025-11-08; Status changed: Voting → WP. ]

Date: 2025-10-15.00:00:00

[ 2025-10-21; Reflector poll. ]

Set status to Tentatively Ready after seven votes in favour during reflector poll.

Date: 2025-09-25.00:00:00

This is a follow-up of LWG 3704 since we now have `flat_set` and `flat_multiset`.

History
Date User Action Args
2025-11-11 10:48:16adminsetmessages: + msg15649
2025-11-11 10:48:16adminsetstatus: voting -> wp
2025-10-30 17:45:31adminsetstatus: ready -> voting
2025-10-21 13:38:15adminsetmessages: + msg15310
2025-10-21 13:38:15adminsetstatus: new -> ready
2025-09-27 05:43:16adminsetmessages: + msg15086
2025-09-25 00:00:00admincreate