Skip to content

Commit 21dae43

Browse files
committed
[ranges] Formatting fixes (\exposid, \tcode, whitespace)
1 parent eb70351 commit 21dae43

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

source/ranges.tex

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3411,10 +3411,10 @@
34113411
class @\libglobal{repeat_view}@ : public view_interface<repeat_view<W, Bound>> {
34123412
private:
34133413
// \ref{range.repeat.iterator}, class \tcode{repeat_view::\exposid{iterator}}
3414-
struct @\exposid{iterator}@; // \expos
3414+
struct @\exposidnc{iterator}@; // \expos
34153415

3416-
@\exposid{movable-box}@<W> @\exposid{value_}@ = W(); // \expos, see \ref{range.move.wrap}
3417-
Bound @\exposid{bound_}@ = Bound(); // \expos
3416+
@\exposidnc{movable-box}@<W> @\exposid{value_}@ = W(); // \expos, see \ref{range.move.wrap}
3417+
Bound @\exposid{bound_}@ = Bound(); // \expos
34183418

34193419
public:
34203420
repeat_view() requires @\libconcept{default_initializable}@<W> = default;
@@ -3502,7 +3502,7 @@
35023502
\begin{itemdescr}
35033503
\pnum
35043504
\effects
3505-
Equivalent to: \tcode{return \exposid{iterator}(addressof(*value_));}
3505+
Equivalent to: \tcode{return \exposid{iterator}(addressof(*\exposid{value_}));}
35063506
\end{itemdescr}
35073507

35083508
\indexlibrarymember{end}{repeat_view}%
@@ -3547,12 +3547,12 @@
35473547
(@\exposid{is-integer-like}@<Bound> || @\libconcept{same_as}@<Bound, unreachable_sentinel_t>))
35483548
class repeat_view<W, Bound>::@\exposid{iterator}@ {
35493549
private:
3550-
using @\exposid{index-type}@ = // \expos
3550+
using @\exposidnc{index-type}@ = // \expos
35513551
conditional_t<@\libconcept{same_as}@<Bound, unreachable_sentinel_t>, ptrdiff_t, Bound>;
3552-
const W* @\exposid{value_}@ = nullptr; // \expos
3553-
@\exposid{index-type}@ @\exposid{current_}@ = @\exposid{index-type}@(); // \expos
3552+
const W* @\exposidnc{value_}@ = nullptr; // \expos
3553+
@\exposidnc{index-type}@ @\exposidnc{current_}@ = @\exposidnc{index-type}@(); // \expos
35543554

3555-
constexpr explicit @\exposid{iterator}@(const W* value, @\exposid{index-type}@ b = @\exposid{index-type}@()); // \expos
3555+
constexpr explicit @\exposid{iterator}@(const W* value, @\exposid{index-type}@ b = @\exposidnc{index-type}@()); // \expos
35563556

35573557
public:
35583558
using iterator_concept = random_access_iterator_tag;
@@ -4167,7 +4167,7 @@
41674167
\begin{itemize}
41684168
\item
41694169
If \tcode{\libconcept{copy_constructible}<T>} is \tcode{true},
4170-
\tcode{\exposid{movable-box}<T>} should store only a \exposid{T}
4170+
\tcode{\exposid{movable-box}<T>} should store only a \tcode{T}
41714171
if either \tcode{T} models \libconcept{copyable}, or
41724172
\tcode{is_nothrow_move_constructible_v<T> \&\& is_nothrow_copy_constructible_v<T>}
41734173
is \tcode{true}.

0 commit comments

Comments
 (0)