Skip to content

Commit

Permalink
[iterator.synopsis] Fix indexing targets for singular sentinels. (#4030)
Browse files Browse the repository at this point in the history
  • Loading branch information
jensmaurer committed Jun 9, 2020
1 parent c76c6e9 commit 3ff4794
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions source/iterators.tex
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@
\rSec1[iterator.synopsis]{Header \tcode{<iterator>}\ synopsis}

\indexheader{iterator}%
\indexlibraryglobal{default_sentinel}%
\indexlibraryglobal{unreachable_sentinel}%
\begin{codeblock}
#include <compare> // see \ref{compare.syn}
#include <concepts> // see \ref{concepts.syn}
Expand Down Expand Up @@ -381,7 +379,7 @@

// \ref{default.sentinels}, default sentinels
struct default_sentinel_t;
inline constexpr default_sentinel_t default_sentinel{};
inline constexpr default_sentinel_t @\libglobal{default_sentinel}@{};

// \ref{iterators.counted}, counted iterators
template<@\libconcept{input_or_output_iterator}@ I> class counted_iterator;
Expand All @@ -394,7 +392,7 @@

// \ref{unreachable.sentinels}, unreachable sentinels
struct unreachable_sentinel_t;
inline constexpr unreachable_sentinel_t unreachable_sentinel{};
inline constexpr unreachable_sentinel_t @\libglobal{unreachable_sentinel}@{};

// \ref{stream.iterators}, stream iterators
template<class T, class charT = char, class traits = char_traits<charT>,
Expand Down

0 comments on commit 3ff4794

Please sign in to comment.