diff --git a/source/ranges.tex b/source/ranges.tex index f0d1f365f0..412f6d9edf 100644 --- a/source/ranges.tex +++ b/source/ranges.tex @@ -16769,7 +16769,7 @@ namespace std::ranges { template<@\libconcept{input_range}@ V> requires @\libconcept{view}@ - class cache_latest_view : public view_interface> { + class @\libglobal{cache_latest_view}@ : public view_interface> { V @\exposid{base_}@ = V(); // \expos using @\exposid{cache_t}@ = conditional_t>, // \expos add_pointer_t>, @@ -16799,6 +16799,7 @@ } \end{codeblock} +\indexlibraryctor{cache_latest_view}% \begin{itemdecl} constexpr explicit cache_latest_view(V base); \end{itemdecl} @@ -16809,6 +16810,7 @@ Initializes \exposid{base_} with \tcode{std::move(base)}. \end{itemdescr} +\indexlibrarymember{begin}{cache_latest_view}% \begin{itemdecl} constexpr auto begin(); \end{itemdecl} @@ -16819,6 +16821,7 @@ Equivalent to: \tcode{return \exposid{iterator}(*this);} \end{itemdescr} +\indexlibrarymember{end}{cache_latest_view}% \begin{itemdecl} constexpr auto end(); \end{itemdecl} @@ -16829,6 +16832,7 @@ Equivalent to: \tcode{return \exposid{sentinel}(*this);} \end{itemdescr} +\indexlibrarymember{size}{cache_latest_view}% \begin{itemdecl} constexpr auto size() requires sized_range; constexpr auto size() const requires sized_range; @@ -16878,6 +16882,7 @@ } \end{codeblock} +\indexlibraryctor{cache_latest_view::\exposid{iterator}}% \begin{itemdecl} constexpr explicit @\exposid{iterator}@(cache_latest_view& parent); \end{itemdecl} @@ -16890,6 +16895,7 @@ and \exposid{parent_} with \tcode{addressof(par\-ent)}. \end{itemdescr} +\indexlibrarymember{base}{cache_latest_view::\exposid{iterator}}% \begin{itemdecl} constexpr iterator_t base() &&; \end{itemdecl} @@ -16900,6 +16906,7 @@ \tcode{std::move(\exposid{current_})}. \end{itemdescr} +\indexlibrarymember{base}{cache_latest_view::\exposid{iterator}}% \begin{itemdecl} constexpr const iterator_t& base() const & noexcept; \end{itemdecl} @@ -16910,6 +16917,7 @@ \exposid{current_}. \end{itemdescr} +\indexlibrarymember{operator++}{cache_latest_view::\exposid{iterator}}% \begin{itemdecl} constexpr iterator& operator++(); \end{itemdecl} @@ -16925,6 +16933,7 @@ \end{codeblock} \end{itemdescr} +\indexlibrarymember{operator++}{cache_latest_view::\exposid{iterator}}% \begin{itemdecl} constexpr void operator++(int); \end{itemdecl} @@ -16935,6 +16944,7 @@ Equivalent to: \tcode{++*this}. \end{itemdescr} +\indexlibrarymember{operator*}{cache_latest_view::\exposid{iterator}}% \begin{itemdecl} constexpr range_reference_t& operator*() const; \end{itemdecl} @@ -16962,6 +16972,7 @@ \end{note} \end{itemdescr} +\indexlibrarymember{iter_move}{cache_latest_view::\exposid{iterator}}% \begin{itemdecl} friend constexpr range_rvalue_reference_t iter_move(const @\exposid{iterator}@& i) noexcept(noexcept(ranges::iter_move(i.@\exposid{current_}@))); @@ -16973,6 +16984,7 @@ Equivalent to: \tcode{return ranges::iter_move(i.\exposid{current_});} \end{itemdescr} +\indexlibrarymember{iter_swap}{cache_latest_view::\exposid{iterator}}% \begin{itemdecl} friend constexpr void iter_swap(const @\exposid{iterator}@& x, const @\exposid{iterator}@& y) noexcept(noexcept(ranges::iter_swap(x.@\exposid{current_}@, y.@\exposid{current_}@))) @@ -17012,6 +17024,7 @@ } \end{codeblock} +\indexlibraryctor{cache_latest_view::\exposid{sentinel}}% \begin{itemdecl} constexpr explicit @\exposid{sentinel}@(cache_latest_view& parent); \end{itemdecl} @@ -17022,6 +17035,7 @@ Initializes \exposid{end_} with \tcode{ranges::end(parent.\exposid{base_})}. \end{itemdescr} +\indexlibrarymember{base}{cache_latest_view::\exposid{sentinel}}% \begin{itemdecl} constexpr sentinel_t base() const; \end{itemdecl} @@ -17032,6 +17046,8 @@ \exposid{end_}. \end{itemdescr} +\indexlibrarymember{operator==}{cache_latest_view::\exposid{iterator}}% +\indexlibrarymember{operator==}{cache_latest_view::\exposid{sentinel}}% \begin{itemdecl} friend constexpr bool operator==(const iterator& x, const sentinel& y); \end{itemdecl} @@ -17042,6 +17058,8 @@ \tcode{x.\exposid{current_} == y.\exposid{end_}}. \end{itemdescr} +\indexlibrarymember{operator-}{cache_latest_view::\exposid{iterator}}% +\indexlibrarymember{operator-}{cache_latest_view::\exposid{sentinel}}% \begin{itemdecl} friend constexpr range_difference_t operator-(const @\exposid{iterator}@& x, const @\exposid{sentinel}@& y) requires sized_sentinel_for, iterator_t>; @@ -17053,6 +17071,8 @@ \tcode{x.\exposid{current_} - y.\exposid{end_}}. \end{itemdescr} +\indexlibrarymember{operator-}{cache_latest_view::\exposid{iterator}}% +\indexlibrarymember{operator-}{cache_latest_view::\exposid{sentinel}}% \begin{itemdecl} friend constexpr range_difference_t operator-(const @\exposid{sentinel}@& x, const @\exposid{iterator}@& y) requires sized_sentinel_for, iterator_t>;