Skip to content

Commit de6f56a

Browse files
committed
[dcl.constexpr] Consistently describe rules for validity of constexpr
function definitions as "requirements" so that the cross-references to this definition use the same term as the definition itself.
1 parent 4dbad61 commit de6f56a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

source/declarations.tex

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -790,7 +790,7 @@
790790
\indextext{specifier!\idxcode{constexpr}!function}
791791
\indextext{constexpr function}
792792
The definition of a \tcode{constexpr} function shall satisfy the following
793-
constraints:
793+
requirements:
794794

795795
\begin{itemize}
796796
\item
@@ -856,7 +856,7 @@
856856
\pnum
857857
\indextext{specifier!\idxcode{constexpr}!constructor}%
858858
The definition of a \tcode{constexpr} constructor shall satisfy the
859-
following constraints:
859+
following requirements:
860860

861861
\begin{itemize}
862862
\item
@@ -874,12 +874,12 @@
874874
\end{itemize}
875875

876876
In addition, either its \grammarterm{function-body} shall be
877-
\tcode{= delete}, or it shall satisfy the following constraints:
877+
\tcode{= delete}, or it shall satisfy the following requirements:
878878

879879
\begin{itemize}
880880
\item
881881
either its \grammarterm{function-body} shall be \tcode{= default}, or the \grammarterm{compound-statement} of its \grammarterm{function-body}
882-
shall satisfy the constraints for a \grammarterm{function-body} of a
882+
shall satisfy the requirements for a \grammarterm{function-body} of a
883883
\tcode{constexpr} function;
884884

885885
\item

0 commit comments

Comments
 (0)