Skip to content

[ranges] Do not indent codeblocks #3570

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

Closed
wants to merge 1 commit into from
Closed
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
36 changes: 18 additions & 18 deletions source/ranges.tex
Original file line number Diff line number Diff line change
Expand Up @@ -348,10 +348,10 @@
valid expression and its type \tcode{I} models
\libconcept{input_or_output_iterator} with overload
resolution performed in a context that includes the declarations:
\begin{codeblock}
\begin{codeblock}
template<class T> void begin(T&&) = delete;
template<class T> void begin(initializer_list<T>&&) = delete;
\end{codeblock}
\end{codeblock}
and does not include a declaration of \tcode{ranges::begin}.

\item
Expand Down Expand Up @@ -389,22 +389,22 @@
Otherwise,
\tcode{\placeholdernc{decay-copy}(t.end())}
if it is a valid expression and its type \tcode{S} models
\begin{codeblock}
\begin{codeblock}
sentinel_for<decltype(ranges::begin(E))>
\end{codeblock}
\end{codeblock}

\item
Otherwise, \tcode{\placeholdernc{decay-copy}(end(t))} if it is a valid
expression and its type \tcode{S} models
\begin{codeblock}
\begin{codeblock}
sentinel_for<decltype(ranges::begin(E))>
\end{codeblock}
\end{codeblock}
with overload
resolution performed in a context that includes the declarations:
\begin{codeblock}
\begin{codeblock}
template<class T> void end(T&&) = delete;
template<class T> void end(initializer_list<T>&&) = delete;
\end{codeblock}
\end{codeblock}
and does not include a declaration of \tcode{ranges::end}.

\item
Expand Down Expand Up @@ -482,9 +482,9 @@
expression and its type \tcode{I} models
\libconcept{input_or_output_iterator} with overload
resolution performed in a context that includes the declaration:
\begin{codeblock}
\begin{codeblock}
template<class T> void rbegin(T&&) = delete;
\end{codeblock}
\end{codeblock}
and does not include a declaration of \tcode{ranges::rbegin}.

\item
Expand Down Expand Up @@ -523,21 +523,21 @@
\item
\tcode{\placeholdernc{decay-copy}(t.rend())}
if it is a valid expression and its type \tcode{S} models
\begin{codeblock}
\begin{codeblock}
sentinel_for<decltype(ranges::rbegin(E))>
\end{codeblock}
\end{codeblock}

\item
Otherwise, \tcode{\placeholdernc{decay-copy}(rend(t))} if it is a valid
expression and its type \tcode{S} models
\begin{codeblock}
\begin{codeblock}
sentinel_for<decltype(ranges::rbegin(E))>
\end{codeblock}
\end{codeblock}
with overload
resolution performed in a context that includes the declaration:
\begin{codeblock}
\begin{codeblock}
template<class T> void rend(T&&) = delete;
\end{codeblock}
\end{codeblock}
and does not include a declaration of \tcode{ranges::rend}.

\item
Expand Down Expand Up @@ -627,9 +627,9 @@
is integer-like
with overload resolution performed in a context that includes
the declaration:
\begin{codeblock}
\begin{codeblock}
template<class T> void size(T&&) = delete;
\end{codeblock}
\end{codeblock}
and does not include a declaration of \tcode{ranges::size}.
\end{itemize}

Expand Down