Skip to content

Commit

Permalink
[expr.const] Replace notes in sentences with footnotes.
Browse files Browse the repository at this point in the history
Partially addresses #4228.
  • Loading branch information
Dawn Perchik committed Sep 30, 2020
1 parent 8c2b2dc commit 4d1baf4
Showing 1 changed file with 6 additions and 12 deletions.
18 changes: 6 additions & 12 deletions source/expressions.tex
Original file line number Diff line number Diff line change
Expand Up @@ -6888,12 +6888,9 @@
of $E$;

\item
an invocation of a non-constexpr function
\begin{note}
Overload resolution\iref{over.match}
is applied as usual.
\end{note}%
;
an invocation of a non-constexpr function%
\footnote{Overload resolution\iref{over.match}
is applied as usual.};

\item
an invocation of an undefined constexpr function;
Expand All @@ -6917,14 +6914,11 @@

\item
an operation that would have undefined behavior
as specified in \ref{intro} through \ref{cpp}
\begin{note}
including,
as specified in \ref{intro} through \ref{cpp}%
\footnote{This includes,
for example, signed integer overflow\iref{expr.prop}, certain
pointer arithmetic\iref{expr.add}, division by
zero\iref{expr.mul}, or certain shift operations\iref{expr.shift}
\end{note}%
;
zero\iref{expr.mul}, or certain shift operations\iref{expr.shift}.};

\item
an lvalue-to-rvalue conversion\iref{conv.lval} unless
Expand Down

0 comments on commit 4d1baf4

Please sign in to comment.