You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: mods.html
-48Lines changed: 0 additions & 48 deletions
Original file line number
Diff line number
Diff line change
@@ -407,54 +407,6 @@ <h1>Additions to <code>std::function</code></h1>
407
407
</cxx-function>
408
408
</cxx-section>
409
409
410
-
<cxx-sectionid="mods.meta.trans.other">
411
-
<h1>Changes to <code>std::common_type</code></h1>
412
-
413
-
<p>In <cxx-refin="cxx" to="meta.trans.other"></cxx-ref>, the definition of <code>common_type::type</code> in paragraph 3 is removed and replaced with:</p>
414
-
<blockquote>
415
-
<p>
416
-
<ins>For the <code>common_type</code> trait applied to a parameter pack <code>T</code> of types,
417
-
the member <code>type</code> shall be either defined or not present as follows:</ins>
418
-
</p>
419
-
<ins><ul>
420
-
<li>If <code>sizeof...(T)</code> is zero, there shall be no member <code>type</code>.</li>
421
-
<li>If <code>sizeof...(T)</code> is one, let <code>T0</code> denote the sole type comprising <code>T</code>. The member typedef <code>type</code> shall denote the same type as <code>decay_t<T0></code>.</li>
422
-
<li>
423
-
If <code>sizeof...(T)</code> is greater than one,
424
-
let <code>T1</code>, <code>T2</code>, and <code>R</code> respectively denote the first, second, and (pack of) remaining types comprising <code>T</code>.
425
-
<cxx-note><code>sizeof...(R)</code> may be zero.</cxx-note>
426
-
Finally, let <code>C</code> denote the type, if any, of an unevaluated conditional expression (<cxx-refin="cxx" to="expr.cond"></cxx-ref>)
427
-
whose first operand is an arbitrary value of type <code>bool</code>,
428
-
whose second operand is an xvalue of type <code>T1</code>,
429
-
and whose third operand is an xvalue of type <code>T2</code>.
430
-
If there is such a type <code>C</code>, the member typedef <code>type</code> shall denote the same type, if any, as <code>common_type_t<C,R...></code>.
431
-
Otherwise, there shall be no member <code>type</code>.
432
-
</li>
433
-
</ul></ins>
434
-
</blockquote>
435
-
</cxx-section>
436
-
437
-
<cxx-sectionid="mods.iterator.traits">
438
-
<h1>Changes to <code>std::iterator_traits</code></h1>
439
-
440
-
<p>In <cxx-refin="cxx" to="iterator.traits"></cxx-ref>, the definition of <code>iterator_traits</code> is changed as follows:</p>
441
-
<blockquote>
442
-
<p>
443
-
The template <code>iterator_traits<Iterator></code><del> is defined as</del>
444
-
<ins> shall have the following as publicly accessible members, and have no other members, if and only if <code>Iterator</code> has valid (<cxx-refin="cxx" to="temp.deduct"></cxx-ref>) member types <code>difference_type</code>, <code>value_type</code>, <code>pointer</code>, <code>reference</code>, and <code>iterator_category</code>; otherwise, the template shall have no members:</ins>
0 commit comments