Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[index] Add index of exposition-only library names. #3876

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 19 additions & 19 deletions source/algorithms.tex
Original file line number Diff line number Diff line change
Expand Up @@ -10252,11 +10252,11 @@
\end{note}

\pnum
Some algorithms specified in \ref{specialized.algorithms} make use of the exposition-only function
\tcode{\placeholdernc{voidify}}:
Some algorithms specified in \ref{specialized.algorithms} make use of
the exposition-only function \exposidnc{voidify}:
\begin{codeblock}
template<class T>
constexpr void* @\placeholdernc{voidify}@(T& obj) noexcept {
constexpr void* @\libexposidnc{voidify}@(T& obj) noexcept {
return const_cast<void*>(static_cast<const volatile void*>(addressof(obj)));
}
\end{codeblock}
Expand Down Expand Up @@ -10361,7 +10361,7 @@
Equivalent to:
\begin{codeblock}
for (; first != last; ++first)
::new (@\placeholdernc{voidify}@(*first))
::new (@\exposidnc{voidify}@(*first))
typename iterator_traits<NoThrowForwardIterator>::value_type;
\end{codeblock}
\end{itemdescr}
Expand All @@ -10384,7 +10384,7 @@
Equivalent to:
\begin{codeblock}
for (; first != last; ++first)
::new (@\placeholdernc{voidify}@(*first)) remove_reference_t<iter_reference_t<I>>;
::new (@\exposidnc{voidify}@(*first)) remove_reference_t<iter_reference_t<I>>;
return first;
\end{codeblock}
\end{itemdescr}
Expand All @@ -10401,7 +10401,7 @@
Equivalent to:
\begin{codeblock}
for (; n > 0; (void)++first, --n)
::new (@\placeholdernc{voidify}@(*first))
::new (@\exposidnc{voidify}@(*first))
typename iterator_traits<NoThrowForwardIterator>::value_type;
return first;
\end{codeblock}
Expand Down Expand Up @@ -10440,7 +10440,7 @@
Equivalent to:
\begin{codeblock}
for (; first != last; ++first)
::new (@\placeholdernc{voidify}@(*first))
::new (@\exposidnc{voidify}@(*first))
typename iterator_traits<NoThrowForwardIterator>::value_type();
\end{codeblock}
\end{itemdescr}
Expand All @@ -10463,7 +10463,7 @@
Equivalent to:
\begin{codeblock}
for (; first != last; ++first)
::new (@\placeholdernc{voidify}@(*first)) remove_reference_t<iter_reference_t<I>>();
::new (@\exposidnc{voidify}@(*first)) remove_reference_t<iter_reference_t<I>>();
return first;
\end{codeblock}
\end{itemdescr}
Expand All @@ -10480,7 +10480,7 @@
Equivalent to:
\begin{codeblock}
for (; n > 0; (void)++first, --n)
::new (@\placeholdernc{voidify}@(*first))
::new (@\exposidnc{voidify}@(*first))
typename iterator_traits<NoThrowForwardIterator>::value_type();
return first;
\end{codeblock}
Expand Down Expand Up @@ -10524,7 +10524,7 @@
Equivalent to:
\begin{codeblock}
for (; first != last; ++result, (void) ++first)
::new (@\placeholdernc{voidify}@(*result))
::new (@\exposidnc{voidify}@(*result))
typename iterator_traits<NoThrowForwardIterator>::value_type(*first);
\end{codeblock}

Expand Down Expand Up @@ -10558,7 +10558,7 @@
Equivalent to:
\begin{codeblock}
for (; ifirst != ilast && ofirst != olast; ++ofirst, (void)++ifirst)
::new (@\placeholdernc{voidify}@(*ofirst)) remove_reference_t<iter_reference_t<O>>(*ifirst);
::new (@\exposidnc{voidify}@(*ofirst)) remove_reference_t<iter_reference_t<O>>(*ifirst);
return {std::move(ifirst), ofirst};
\end{codeblock}
\end{itemdescr}
Expand All @@ -10580,7 +10580,7 @@
Equivalent to:
\begin{codeblock}
for ( ; n > 0; ++result, (void) ++first, --n)
::new (@\placeholdernc{voidify}@(*result))
::new (@\exposidnc{voidify}@(*result))
typename iterator_traits<NoThrowForwardIterator>::value_type(*first);
\end{codeblock}

Expand Down Expand Up @@ -10634,7 +10634,7 @@
Equivalent to:
\begin{codeblock}
for (; first != last; (void)++result, ++first)
::new (@\placeholdernc{voidify}@(*result))
::new (@\exposidnc{voidify}@(*result))
typename iterator_traits<NoThrowForwardIterator>::value_type(std::move(*first));
return result;
\end{codeblock}
Expand Down Expand Up @@ -10665,7 +10665,7 @@
Equivalent to:
\begin{codeblock}
for (; ifirst != ilast && ofirst != olast; ++ofirst, (void)++ifirst)
::new (@\placeholder{voidify}@(*ofirst))
::new (@\exposidnc{voidify}@(*ofirst))
remove_reference_t<iter_reference_t<O>>(ranges::iter_move(ifirst));
return {std::move(ifirst), ofirst};
\end{codeblock}
Expand Down Expand Up @@ -10694,7 +10694,7 @@
Equivalent to:
\begin{codeblock}
for (; n > 0; ++result, (void) ++first, --n)
::new (@\placeholdernc{voidify}@(*result))
::new (@\exposidnc{voidify}@(*result))
typename iterator_traits<NoThrowForwardIterator>::value_type(std::move(*first));
return {first, result};
\end{codeblock}
Expand Down Expand Up @@ -10746,7 +10746,7 @@
Equivalent to:
\begin{codeblock}
for (; first != last; ++first)
::new (@\placeholdernc{voidify}@(*first))
::new (@\exposidnc{voidify}@(*first))
typename iterator_traits<NoThrowForwardIterator>::value_type(x);
\end{codeblock}
\end{itemdescr}
Expand All @@ -10769,7 +10769,7 @@
Equivalent to:
\begin{codeblock}
for (; first != last; ++first)
::new (@\placeholdernc{voidify}@(*first)) remove_reference_t<iter_reference_t<I>>(x);
::new (@\exposidnc{voidify}@(*first)) remove_reference_t<iter_reference_t<I>>(x);
return first;
\end{codeblock}
\end{itemdescr}
Expand All @@ -10786,7 +10786,7 @@
Equivalent to:
\begin{codeblock}
for (; n--; ++first)
::new (@\placeholdernc{voidify}@(*first))
::new (@\exposidnc{voidify}@(*first))
typename iterator_traits<NoThrowForwardIterator>::value_type(x);
return first;
\end{codeblock}
Expand Down Expand Up @@ -10833,7 +10833,7 @@
\effects
Equivalent to:
\begin{codeblock}
return ::new (@\placeholdernc{voidify}@(*location)) T(std::forward<Args>(args)...);
return ::new (@\exposidnc{voidify}@(*location)) T(std::forward<Args>(args)...);
\end{codeblock}
\end{itemdescr}

Expand Down
3 changes: 2 additions & 1 deletion source/back.tex
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,8 @@ \chapter{Bibliography}
}

\clearpage
\renewcommand{\preindexhook}{}
\renewcommand{\preindexhook}{Names in italics are
exposition-only library names.\\}
{
\raggedright
\printindex[libraryindex]
Expand Down
Loading