Skip to content

Commit f7c928b

Browse files
author
AlisdairM
committed
Wednesday morning updates for reivew, 2011 Bloomington
1 parent 7113ee1 commit f7c928b

File tree

2 files changed

+8
-20
lines changed

2 files changed

+8
-20
lines changed

xml/issue2005.xml

Lines changed: 6 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -145,9 +145,7 @@ New wording by Pablo.
145145
template <class P> pair<iterator, bool> insert(P&& x);
146146
template &lt;class P&gt; <del>pair&lt;</del>iterator<del>, bool&gt;</del> insert(const_iterator position, P&amp;&amp; x);
147147
</pre><blockquote>
148-
1 <em>Requires</em>: <del><tt>P</tt> shall be convertible
149-
to </del><tt>value_type</tt><ins> is EmplaceConstructible into
150-
<tt>*this</tt> from <tt>std::forward&lt;P&gt;(x)</tt></ins>.
148+
<del>1 <em>Requires</em>: <tt>P</tt> shall be convertible to <tt>value_type</tt>.</del>
151149
<p/>
152150
<del>If <tt>P</tt> is instantiated as a reference type, then the argument <tt>x</tt> is copied from. Otherwise <tt>x</tt> is considered
153151
to be an rvalue as it is converted to <tt>value_type</tt> and inserted into the map. Specifically, in
@@ -172,9 +170,7 @@ is implicitly convertible to <tt>value_type</tt>.</ins>
172170
template &lt;class P&gt; iterator insert(P&amp;&amp; x);
173171
template &lt;class P&gt; iterator insert(const_iterator position, P&amp;&amp; x);
174172
</pre><blockquote>
175-
1 <em>Requires</em>: <del><tt>P</tt> shall be convertible
176-
to </del><tt>value_type</tt> <ins>is EmplaceConstructible into <tt>*this</tt> from
177-
<tt>std::forward&lt;P&gt;(x)</tt></ins>.
173+
<del>1 <em>Requires</em>: <tt>P</tt> shall be convertible to <tt>value_type</tt>.</del>
178174
<p/>
179175
<del>If <tt>P</tt> is instantiated as a reference type, then the argument <tt>x</tt> is copied from. Otherwise
180176
<tt>x</tt> is considered to be an rvalue as it is converted to <tt>value_type</tt> and inserted into the map.
@@ -200,9 +196,7 @@ template &lt;class P&gt;
200196
pair&lt;iterator, bool&gt; insert(P&amp;&amp; obj);
201197
</pre>
202198
<blockquote>
203-
1 <em>Requires</em>: <tt>value_type</tt> is
204-
<del>constructible</del><ins>EmplaceConstructible into <tt>*this</tt></ins>
205-
from <tt>std::forward&lt;P&gt;(obj)</tt>.
199+
<del>1 <em>Requires</em>: <tt>value_type</tt> is constructible from <tt>std::forward&lt;P&gt;(obj)</tt>.</del>
206200
<p/>
207201
2 <em>Effects</em>:
208202
<ins>equivalent to <tt>return emplace(std::forward&lt;P&gt;(obj))</tt>.</ins>
@@ -222,9 +216,7 @@ to <tt>value_type</tt>.
222216
iterator insert(const_iterator hint, P&amp;&amp; obj);
223217
</pre>
224218
<blockquote>
225-
<del>6</del><em>?</em> <em>Requires</em>: <tt>value_type</tt> is
226-
<del>constructible</del><ins>EmplaceConstructible into <tt>*this</tt></ins>
227-
from <tt>std::forward&lt;P&gt;(obj)</tt>.
219+
<del>6 <em>Requires</em>: <tt>value_type</tt> is constructible from <tt>std::forward&lt;P&gt;(obj)</tt>.</del>
228220
<p/>
229221
<del>7</del><em>?</em> <em>Effects</em>:
230222
<ins>equivalent to <tt>return emplace_hint(hint, std::forward&lt;P&gt;(obj))</tt>.</ins>
@@ -246,9 +238,7 @@ template &lt;class P&gt;
246238
iterator insert(P&amp;&amp; obj);
247239
</pre>
248240
<blockquote>
249-
1 <em>Requires</em>: <tt>value_type</tt> is
250-
<del>constructible</del><ins>EmplaceConstructible into <tt>*this</tt></ins>
251-
from <tt>std::forward&lt;P&gt;(obj)</tt>.
241+
<del>1 <em>Requires</em>: <tt>value_type</tt> is constructible from <tt>std::forward&lt;P&gt;(obj)</tt>.</del>
252242
<p/>
253243
2 <em>Effects</em>:
254244
<ins>equivalent to <tt>return emplace(std::forward&lt;P&gt;(obj))</tt>.</ins>
@@ -266,9 +256,7 @@ template &lt;class P&gt;
266256
iterator insert(const_iterator hint, P&amp;&amp; obj);
267257
</pre>
268258
<blockquote>
269-
<del>6</del><em>?</em> <em>Requires</em>: <tt>value_type</tt> is
270-
<del>constructible</del><ins>EmplaceConstructible into <tt>*this</tt></ins>
271-
from <tt>std::forward&lt;P&gt;(obj)</tt>.
259+
<del>6 <em>Requires</em>: <tt>value_type</tt> is constructible from <tt>std::forward&lt;P&gt;(obj)</tt>.</del>
272260
<p/>
273261
<del>7</del><em>?</em> <em>Effects</em>:
274262
<ins>equivalent to <tt>return emplace_hint(hint, std::forward&lt;P&gt;(obj))</tt>.</ins>

xml/issue2059.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<!ENTITY nbsp "&#160;">
44
] >
55

6-
<issue num="2059" status="Open">
6+
<issue num="2059" status="Review">
77
<title>C++0x ambiguity problem with <tt>map::erase</tt></title>
88
<section><sref ref="[map]"/></section>
99
<submitter>Christopher Jefferson</submitter>
@@ -46,7 +46,7 @@ by key method. The complete resolution should simply restore the <tt>iterator</
4646
</p>
4747

4848
<p>
49-
Proposed wording supplied by Alan Talbot.
49+
Proposed wording supplied by Alan Talbot, and moved to Review.
5050
</p>
5151
</discussion>
5252

0 commit comments

Comments
 (0)