File tree Expand file tree Collapse file tree 1 file changed +53
-0
lines changed
Expand file tree Collapse file tree 1 file changed +53
-0
lines changed Original file line number Diff line number Diff line change 1+ <?xml version =' 1.0' encoding =' utf-8' standalone =' no' ?>
2+ <!DOCTYPE issue SYSTEM "lwg-issue.dtd">
3+
4+ <issue num =" 4384" status =" New" >
5+ <title >`flat_set::erase(iterator)` is underconstrained
6+ </title >
7+ <section >
8+ <sref ref =" [flat.set.defn]" />
9+ <sref ref =" [flat.multiset.defn]" />
10+ </section >
11+ <submitter >Hewill Kang</submitter >
12+ <date >25 Sep 2025</date >
13+ <priority >99</priority >
14+
15+ <discussion >
16+ <p >
17+ This is a follow-up of LWG <iref ref =" 3704" /> since we now have `flat_set` and `flat_multiset`.
18+ </p >
19+ </discussion >
20+
21+ <resolution >
22+ <p >
23+ This wording is relative to <paper num =" N5014" />.
24+ </p >
25+
26+ <ol >
27+
28+ <li ><p >Modify <sref ref =" [flat.set.defn]" /> as indicated:</p >
29+
30+ <blockquote >
31+ <pre >
32+ iterator erase(iterator position) <ins >requires (!same_as< iterator, const_iterator> )</ins >;
33+ iterator erase(const_iterator position);
34+ </pre >
35+ </blockquote >
36+
37+ </li >
38+
39+ <li ><p >Modify <sref ref =" [flat.multiset.defn]" /> as indicated:</p >
40+
41+ <blockquote >
42+ <pre >
43+ iterator erase(iterator position) <ins >requires (!same_as< iterator, const_iterator> )</ins >;
44+ iterator erase(const_iterator position);
45+ </pre >
46+ </blockquote >
47+
48+ </li >
49+
50+ </ol >
51+ </resolution >
52+
53+ </issue >
You can’t perform that action at this time.
0 commit comments