|
3411 | 3411 | class @\libglobal{repeat_view}@ : public view_interface<repeat_view<W, Bound>> { |
3412 | 3412 | private: |
3413 | 3413 | // \ref{range.repeat.iterator}, class \tcode{repeat_view::\exposid{iterator}} |
3414 | | - struct @\exposid{iterator}@; // \expos |
| 3414 | + struct @\exposidnc{iterator}@; // \expos |
3415 | 3415 |
|
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 |
3418 | 3418 |
|
3419 | 3419 | public: |
3420 | 3420 | repeat_view() requires @\libconcept{default_initializable}@<W> = default; |
|
3502 | 3502 | \begin{itemdescr} |
3503 | 3503 | \pnum |
3504 | 3504 | \effects |
3505 | | -Equivalent to: \tcode{return \exposid{iterator}(addressof(*value_));} |
| 3505 | +Equivalent to: \tcode{return \exposid{iterator}(addressof(*\exposid{value_}));} |
3506 | 3506 | \end{itemdescr} |
3507 | 3507 |
|
3508 | 3508 | \indexlibrarymember{end}{repeat_view}% |
|
3547 | 3547 | (@\exposid{is-integer-like}@<Bound> || @\libconcept{same_as}@<Bound, unreachable_sentinel_t>)) |
3548 | 3548 | class repeat_view<W, Bound>::@\exposid{iterator}@ { |
3549 | 3549 | private: |
3550 | | - using @\exposid{index-type}@ = // \expos |
| 3550 | + using @\exposidnc{index-type}@ = // \expos |
3551 | 3551 | 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 |
3554 | 3554 |
|
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 |
3556 | 3556 |
|
3557 | 3557 | public: |
3558 | 3558 | using iterator_concept = random_access_iterator_tag; |
|
4167 | 4167 | \begin{itemize} |
4168 | 4168 | \item |
4169 | 4169 | 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} |
4171 | 4171 | if either \tcode{T} models \libconcept{copyable}, or |
4172 | 4172 | \tcode{is_nothrow_move_constructible_v<T> \&\& is_nothrow_copy_constructible_v<T>} |
4173 | 4173 | is \tcode{true}. |
|
0 commit comments