Skip to content

Commit

Permalink
[std] Index specializations of range variable templates
Browse files Browse the repository at this point in the history
  • Loading branch information
JohelEGP committed Nov 19, 2021
1 parent 1567c48 commit d84d1aa
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 0 deletions.
2 changes: 2 additions & 0 deletions source/containers.tex
Original file line number Diff line number Diff line change
Expand Up @@ -10936,6 +10936,8 @@
\rSec2[span.syn]{Header \tcode{<span>} synopsis}%

\indexheader{span}%
\indexlibraryspec{enable_view}{span}%
\indexlibraryspec{enable_borrowed_range}{span}%
\begin{codeblock}
namespace std {
// constants
Expand Down
4 changes: 4 additions & 0 deletions source/iostreams.tex
Original file line number Diff line number Diff line change
Expand Up @@ -12462,6 +12462,10 @@
\rSec2[fs.filesystem.syn]{Header \tcode{<filesystem>} synopsis}

\indexheader{filesystem}%
\indexlibraryspec{enable_borrowed_range}{directory_iterator}%
\indexlibraryspec{enable_borrowed_range}{recursive_directory_iterator}%
\indexlibraryspec{enable_view}{directory_iterator}%
\indexlibraryspec{enable_view}{recursive_directory_iterator}%
\begin{codeblock}
#include <compare> // see \ref{compare.syn}

Expand Down
1 change: 1 addition & 0 deletions source/iterators.tex
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
\rSec1[iterator.synopsis]{Header \tcode{<iterator>}\ synopsis}

\indexheader{iterator}%
\indexlibraryspec{disable_sized_sentinel_for}{reverse_iterator}%
\begin{codeblock}
#include <compare> // see \ref{compare.syn}
#include <concepts> // see \ref{concepts.syn}
Expand Down
1 change: 1 addition & 0 deletions source/macros.tex
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@
\newcommand{\indexlibraryglobal}[1]{\indexlibrary{\idxcode{#1}}}
\newcommand{\indexlibraryctor}[1]{\indexlibrary{\idxcode{#1}!constructor}}
\newcommand{\indexlibrarydtor}[1]{\indexlibrary{\idxcode{#1}!destructor}}
\newcommand{\indexlibraryspec}[2]{\indexlibrary{\idxcode{#1}!\idxcode{#2}}}

% class member library index
\newcommand{\indexlibrarymember}[2]{\indexlibrary{\idxcode{#1}!\idxcode{#2}}\indexlibrary{\idxcode{#2}!\idxcode{#1}}}
Expand Down
13 changes: 13 additions & 0 deletions source/ranges.tex
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,19 @@

\indexheader{ranges}%
\indexlibraryglobal{all_t}%
\indexlibraryspec{enable_borrowed_range}{subrange}%
\indexlibraryspec{enable_borrowed_range}{empty_view}%
\indexlibraryspec{enable_borrowed_range}{iota_view}%
\indexlibraryspec{enable_borrowed_range}{ref_view}%
\indexlibraryspec{enable_borrowed_range}{owning_view}%
\indexlibraryspec{enable_borrowed_range}{take_view}%
\indexlibraryspec{enable_borrowed_range}{drop_view}%
\indexlibraryspec{enable_borrowed_range}{drop_while_view}%
\indexlibraryspec{enable_borrowed_range}{common_view}%
\indexlibraryspec{enable_borrowed_range}{reverse_view}%
\indexlibraryspec{enable_borrowed_range}{elements_view}%
\indexlibraryspec{enable_borrowed_range}{zip_view}%
\indexlibraryspec{enable_borrowed_range}{adjacent_view}%
\begin{codeblock}
#include <compare> // see \ref{compare.syn}
#include <initializer_list> // see \ref{initializer.list.syn}
Expand Down
2 changes: 2 additions & 0 deletions source/strings.tex
Original file line number Diff line number Diff line change
Expand Up @@ -4048,6 +4048,8 @@
\rSec2[string.view.synop]{Header \tcode{<string_view>} synopsis}

\indexheader{string_view}%
\indexlibraryspec{enable_view}{basic_string_view}%
\indexlibraryspec{enable_borrowed_range}{basic_string_view}%
\begin{codeblock}
#include <compare> // see \ref{compare.syn}

Expand Down

0 comments on commit d84d1aa

Please sign in to comment.