Skip to content

[dcl.array], [temp.deduct.type] Split notes spanning numbered paragra… #1261

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

Merged
merged 1 commit into from
Dec 16, 2016
Merged
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
6 changes: 3 additions & 3 deletions source/declarators.tex
Original file line number Diff line number Diff line change
Expand Up @@ -1138,7 +1138,7 @@
in such a way that
\tcode{E1[E2]}
is identical to
\tcode{*((E1)+(E2))}.
\tcode{*((E1)+(E2))}~(\ref{expr.sub}).
Because of the conversion rules
that apply to
\tcode{+},
Expand All @@ -1156,8 +1156,10 @@
Therefore,
despite its asymmetric
appearance, subscripting is a commutative operation.
\end{note}

\pnum
\begin{note}
A consistent rule is followed for
\indextext{array!multidimensional}%
multidimensional arrays.
Expand All @@ -1183,8 +1185,6 @@
is applied to this pointer,
the result is the pointed-to $(n-1)$-dimensional array,
which itself is immediately converted into a pointer.

\pnum
\begin{example}
consider

Expand Down
4 changes: 4 additions & 0 deletions source/templates.tex
Original file line number Diff line number Diff line change
Expand Up @@ -7284,8 +7284,10 @@
f3(v); // OK: \tcode{i} deduced to be \tcode{10}
}
\end{codeblock}
\end{note}

\pnum
\begin{note}
If, in the declaration of a function template with a non-type
template parameter, the non-type template parameter
is used in a subexpression in the function parameter list,
Expand All @@ -7305,6 +7307,8 @@
\end{codeblock}
\end{example}
\end{note}

\pnum
\begin{note}
Template parameters do not participate in template argument deduction if
they are used only in non-deduced contexts.
Expand Down