@@ -2184,7 +2184,7 @@ <h1>Contents</h1>
2184
2184
</td></tr>
2185
2185
<tr>
2186
2186
<td>N3916</td>
2187
- <td>Type-erased allocator for std::function</td>
2187
+ <td>Type-erased allocator for <code> std::function</code> </td>
2188
2188
<td><cxx-ref to="func.wrap.func"><a title="func.wrap.func" href="#func.wrap.func">4.2</a></cxx-ref></td>
2189
2189
<td><code>function_erased_allocator</code></td>
2190
2190
<td>201406</td>
@@ -2280,15 +2280,15 @@ <h1>Contents</h1>
2280
2280
</tr>
2281
2281
<tr>
2282
2282
<td>N3916</td>
2283
- <td>Type-erased allocator for std::promise</td>
2283
+ <td>Type-erased allocator for <code> std::promise</code> </td>
2284
2284
<td><cxx-ref to="futures.promise"><a title="futures.promise" href="#futures.promise">11.2</a></cxx-ref></td>
2285
2285
<td><code>promise_erased_allocator</code></td>
2286
2286
<td>201406</td>
2287
2287
<td><code><experimental/future></code></td>
2288
2288
</tr>
2289
2289
<tr>
2290
2290
<td>N3916</td>
2291
- <td>Type-erased allocator for std::packaged_task</td>
2291
+ <td>Type-erased allocator for <code> std::packaged_task</code> </td>
2292
2292
<td><cxx-ref to="futures.task"><a title="futures.task" href="#futures.task">11.3</a></cxx-ref></td>
2293
2293
<td><code>packaged_task_erased_allocator</code></td>
2294
2294
<td>201406</td>
@@ -2371,7 +2371,7 @@ <h1>Contents</h1>
2371
2371
<cxx-remarks>
2372
2372
2373
2373
<dt>Remarks:</dt><dd>
2374
- automatically detects whether <code>T</code> has a nested <code>allocator_type</code> that is convertible from <code>Alloc</code>.
2374
+ Automatically detects whether <code>T</code> has a nested <code>allocator_type</code> that is convertible from <code>Alloc</code>.
2375
2375
Meets the BinaryTypeTrait requirements (<cxx-ref in="cxx" to="meta.rqmts">C++14 <span title="meta.rqmts">§20.10.1</span></cxx-ref>).
2376
2376
The implementation shall provide a definition that is derived from <code>true_type</code> if a type <code>T::allocator_type</code> exists
2377
2377
and <ins>either</ins> <code>is_convertible_v<Alloc, T::allocator_type> != false</code>
@@ -2837,7 +2837,7 @@ <h1>Contents</h1>
2837
2837
<li>The invocation parameters of <code><em>INVOKE</em>(S(), "abc", 5)</code> are <code>(const char *, int)</code>.
2838
2838
The defaulted parameter <code>j</code> does not correspond to an argument.</li>
2839
2839
<li>The invocation parameters of <code><em>INVOKE</em>(S(), locale(), 5)</code> are <code>(locale, int)</code>.
2840
- Arguments corresponding to ellipsis maintain their types</li>
2840
+ Arguments corresponding to ellipsis maintain their types. </li>
2841
2841
</ul>
2842
2842
2843
2843
<span class="nowrap">— <em>end example</em> ]</span>
@@ -4952,7 +4952,7 @@ <h1>Contents</h1>
4952
4952
4953
4953
<cxx-effects para_num="5" id="func.searchers.default.5">
4954
4954
4955
- <dt>Effects:</dt><dd>Equivalent to <code>std::search(first, last, pat_first_, pat_last_, pred_)</code>. </dd>
4955
+ <dt>Effects:</dt><dd>Equivalent to <code>return std::search(<w-br><wbr></w-br> first, last, pat_first_, pat_last_, pred_); </code></dd>
4956
4956
</cxx-effects>
4957
4957
4958
4958
</dl>
@@ -4979,7 +4979,7 @@ <h1>Contents</h1>
4979
4979
4980
4980
<cxx-effects para_num="2" id="func.searchers.default.creation.2">
4981
4981
4982
- <dt>Effects:</dt><dd>Equivalent to <code>default_searcher<ForwardIterator, BinaryPredicate>(pat_first, pat_last, pred)</code>. </dd>
4982
+ <dt>Effects:</dt><dd>Equivalent to <code>return default_searcher<ForwardIterator, BinaryPredicate>(<w-br><wbr></w-br> pat_first, pat_last, pred); </code></dd>
4983
4983
</cxx-effects>
4984
4984
4985
4985
</dl>
@@ -5110,7 +5110,7 @@ <h1>Contents</h1>
5110
5110
5111
5111
<cxx-effects para_num="2" id="func.searchers.boyer_moore.creation.2">
5112
5112
5113
- <dt>Effects:</dt><dd>Equivalent to <code>boyer_moore_searcher<RandomAccessIterator, Hash, BinaryPredicate>(<w-br><wbr></w-br>pat_first, pat_last, hf, pred)</code>. </dd>
5113
+ <dt>Effects:</dt><dd>Equivalent to <code>return boyer_moore_searcher<RandomAccessIterator, Hash, BinaryPredicate>(<w-br><wbr></w-br>pat_first, pat_last, hf, pred); </code></dd>
5114
5114
</cxx-effects>
5115
5115
5116
5116
</dl>
@@ -5247,7 +5247,7 @@ <h1>Contents</h1>
5247
5247
5248
5248
<cxx-effects para_num="2" id="func.searchers.boyer_moore_horspool.creation.2">
5249
5249
5250
- <dt>Effects:</dt><dd>Equivalent to <code>boyer_moore_horspool_searcher<RandomAccessIterator, Hash, BinaryPredicate>(<w-br><wbr></w-br>pat_first, pat_last, hf, pred)</code>. </dd>
5250
+ <dt>Effects:</dt><dd>Equivalent to <code>return boyer_moore_horspool_searcher<RandomAccessIterator, Hash, BinaryPredicate>(<w-br><wbr></w-br>pat_first, pat_last, hf, pred); </code></dd>
5251
5251
</cxx-effects>
5252
5252
5253
5253
</dl>
@@ -6262,7 +6262,7 @@ <h1>Contents</h1>
6262
6262
6263
6263
<cxx-effects para_num="22" id="optional.object.observe.22">
6264
6264
6265
- <dt>Effects:</dt><dd>Equivalent to <code>return bool(*this) ? **this : static_cast<T>(std::forward<U>(<var>v</var>))</code>. </dd>
6265
+ <dt>Effects:</dt><dd>Equivalent to <code>return bool(*this) ? **this : static_cast<T>(std::forward<U>(<var>v</var>)); </code></dd>
6266
6266
</cxx-effects>
6267
6267
<cxx-remarks para_num="23" id="optional.object.observe.23">
6268
6268
@@ -6283,7 +6283,7 @@ <h1>Contents</h1>
6283
6283
6284
6284
<cxx-effects para_num="25" id="optional.object.observe.25">
6285
6285
6286
- <dt>Effects:</dt><dd>Equivalent to <code>return bool(*this) ? <w-br><wbr></w-br>std::move(**this) : <w-br><wbr></w-br>static_cast<T>(std::forward<U>(<var>v</var>))</code>. </dd>
6286
+ <dt>Effects:</dt><dd>Equivalent to <code>return bool(*this) ? <w-br><wbr></w-br>std::move(**this) : <w-br><wbr></w-br>static_cast<T>(std::forward<U>(<var>v</var>)); </code></dd>
6287
6287
</cxx-effects>
6288
6288
<cxx-remarks para_num="26" id="optional.object.observe.26">
6289
6289
@@ -7820,7 +7820,7 @@ <h1>Contents</h1>
7820
7820
<table is="cxx-table" id="tab:string.view.ctr.2">
7821
7821
7822
7822
7823
- <caption>Table 9 — <wbr><span><code>basic_string_view(const charT*)<code> effects</code></code> </span></caption>
7823
+ <caption>Table 9 — <wbr><span><code>basic_string_view(const charT*)</ code> effects</span></caption>
7824
7824
7825
7825
<tbody><tr><th>Element</th><th>Value</th></tr>
7826
7826
<tr><td><code>data_</code></td><td><code>str</code></td></tr>
@@ -8259,7 +8259,7 @@ <h1>Contents</h1>
8259
8259
8260
8260
<cxx-effects para_num="2" id="string.view.ops.2">
8261
8261
8262
- <dt>Effects:</dt><dd>Equivalent to <code>basic_string<charT, traits, Allocator>(begin(), end()). </code></dd>
8262
+ <dt>Effects:</dt><dd>Equivalent to <code>return basic_string<charT, traits, Allocator>(begin(), end()); </code></dd>
8263
8263
</cxx-effects>
8264
8264
<cxx-complexity para_num="3" id="string.view.ops.3">
8265
8265
@@ -8399,7 +8399,7 @@ <h1>Contents</h1>
8399
8399
8400
8400
<cxx-effects para_num="24" id="string.view.ops.24">
8401
8401
8402
- <dt>Effects:</dt><dd>Equivalent to <code>substr(pos1, n1).compare(str)</code>. </dd>
8402
+ <dt>Effects:</dt><dd>Equivalent to <code>return substr(pos1, n1).compare(str); </code></dd>
8403
8403
</cxx-effects>
8404
8404
8405
8405
</dl>
@@ -8415,7 +8415,7 @@ <h1>Contents</h1>
8415
8415
8416
8416
<cxx-effects para_num="26" id="string.view.ops.26">
8417
8417
8418
- <dt>Effects:</dt><dd>Equivalent to <code>substr(pos1, n1).compare(str.substr(pos2, n2))</code>. </dd>
8418
+ <dt>Effects:</dt><dd>Equivalent to <code>return substr(pos1, n1).compare(str.substr(pos2, n2)); </code></dd>
8419
8419
</cxx-effects>
8420
8420
8421
8421
</dl>
@@ -8430,7 +8430,7 @@ <h1>Contents</h1>
8430
8430
8431
8431
<cxx-effects para_num="28" id="string.view.ops.28">
8432
8432
8433
- <dt>Effects:</dt><dd>Equivalent to <code>compare(basic_string_view(s))</code>. </dd>
8433
+ <dt>Effects:</dt><dd>Equivalent to <code>return compare(basic_string_view(s)); </code></dd>
8434
8434
</cxx-effects>
8435
8435
8436
8436
</dl>
@@ -8445,7 +8445,7 @@ <h1>Contents</h1>
8445
8445
8446
8446
<cxx-effects para_num="30" id="string.view.ops.30">
8447
8447
8448
- <dt>Effects:</dt><dd>Equivalent to <code>substr(pos1, n1).compare(basic_string_view(s))</code>. </dd>
8448
+ <dt>Effects:</dt><dd>Equivalent to <code>return substr(pos1, n1).compare(basic_string_view(s)); </code></dd>
8449
8449
</cxx-effects>
8450
8450
8451
8451
</dl>
@@ -8461,7 +8461,7 @@ <h1>Contents</h1>
8461
8461
8462
8462
<cxx-effects para_num="32" id="string.view.ops.32">
8463
8463
8464
- <dt>Effects:</dt><dd>Equivalent to <code>substr(pos1, n1).compare(basic_string_view(s, n2))</code>. </dd>
8464
+ <dt>Effects:</dt><dd>Equivalent to <code>return substr(pos1, n1).compare(basic_string_view(s, n2)); </code></dd>
8465
8465
</cxx-effects>
8466
8466
8467
8467
</dl>
@@ -8483,15 +8483,15 @@ <h1>Contents</h1>
8483
8483
8484
8484
<p para_num="3" id="string.view.find.3">Each member function of the form</p>
8485
8485
<pre><code>constexpr <var>return-type fx1</var>(const charT* s, size_type pos);</code></pre>
8486
- <p class="cont">is equivalent to <code><var>fx1</var>(basic_string_view(s), pos)</code>. </p>
8486
+ <p class="cont">is equivalent to <code>return <var>fx1</var>(basic_string_view(s), pos); </code></p>
8487
8487
8488
8488
<p para_num="4" id="string.view.find.4">Each member function of the form</p>
8489
8489
<pre><code>constexpr <var>return-type fx1</var>(const charT* s, size_type pos, size_type n);</code></pre>
8490
- <p class="cont">is equivalent to <code><var>fx1</var>(basic_string_view(s, n), pos)</code>. </p>
8490
+ <p class="cont">is equivalent to <code>return <var>fx1</var>(basic_string_view(s, n), pos); </code></p>
8491
8491
8492
8492
<p para_num="5" id="string.view.find.5">Each member function of the form</p>
8493
8493
<pre><code>constexpr <var>return-type fx2</var>(charT c, size_type pos);</code></pre>
8494
- <p class="cont">is equivalent to <code><var>fx2</var>(basic_string_view(&c, 1), pos)</code>. </p>
8494
+ <p class="cont">is equivalent to <code>return <var>fx2</var>(basic_string_view(&c, 1), pos); </code></p>
8495
8495
8496
8496
<cxx-function para_num="6" id="string.view.find.6">
8497
8497
@@ -8874,7 +8874,7 @@ <h1>Contents</h1>
8874
8874
8875
8875
<cxx-effects para_num="2" id="string.view.io.2">
8876
8876
8877
- <dt>Effects:</dt><dd>Equivalent to <code>os << str.to_string()</code>. </dd>
8877
+ <dt>Effects:</dt><dd>Equivalent to <code>return os << str.to_string(); </code></dd>
8878
8878
</cxx-effects>
8879
8879
8880
8880
</dl>
@@ -10393,7 +10393,7 @@ <h1>Contents</h1>
10393
10393
10394
10394
<cxx-returns para_num="2" id="memory.polymorphic.allocator.mem.2">
10395
10395
10396
- <dt>Returns:</dt><dd>Equivalent to <code>static_cast<Tp*>(m_resource->allocate(n * sizeof(Tp), alignof(Tp)))</code>. </dd>
10396
+ <dt>Returns:</dt><dd>Equivalent to <code>return static_cast<Tp*>(m_resource->allocate(n * sizeof(Tp), alignof(Tp))); </code></dd>
10397
10397
</cxx-returns>
10398
10398
10399
10399
</dl>
@@ -10448,7 +10448,7 @@ <h1>Contents</h1>
10448
10448
</cxx-effects>
10449
10449
<cxx-throws para_num="10" id="memory.polymorphic.allocator.mem.10">
10450
10450
10451
- <dt>Throws:</dt><dd>: Nothing unless the constructor for <code>T</code> throws.</dd>
10451
+ <dt>Throws:</dt><dd>Nothing unless the constructor for <code>T</code> throws.</dd>
10452
10452
</cxx-throws>
10453
10453
10454
10454
</dl>
@@ -10485,7 +10485,8 @@ <h1>Contents</h1>
10485
10485
then <code>xprime</code> is <code>tuple_cat(std::move(x), make_tuple(this->resource()))</code>.</li>
10486
10486
<li>Otherwise the program is ill formed.</li>
10487
10487
</ul>
10488
- and let yprime be a tuple constructed from y according to the appropriate rule from the following list:
10488
+ and let <code>yprime</code> be a tuple constructed from <code>y</code>
10489
+ according to the appropriate rule from the following list:
10489
10490
<ul>
10490
10491
<li>If <code>uses_allocator_v<T2,memory_resource*></code> is <code>false</code> and
10491
10492
<code>is_constructible_v<T,Args2...></code> is <code>true</code>, then <code>yprime</code> is <code>y</code>.</li>
@@ -13304,7 +13305,7 @@ <h1>Contents</h1>
13304
13305
13305
13306
<cxx-effects para_num="2" id="alg.search.2">
13306
13307
13307
- <dt>Effects:</dt><dd>Equivalent to <code>return searcher(first, last)</code>. </dd>
13308
+ <dt>Effects:</dt><dd>Equivalent to <code>return searcher(first, last); </code></dd>
13308
13309
</cxx-effects>
13309
13310
<cxx-remarks para_num="3" id="alg.search.3">
13310
13311
0 commit comments