File tree Expand file tree Collapse file tree 1 file changed +17
-10
lines changed Expand file tree Collapse file tree 1 file changed +17
-10
lines changed Original file line number Diff line number Diff line change 1756
1756
\indextext {constraint!normalization|(}%
1757
1757
1758
1758
\pnum
1759
- Determining a declaration's
1760
- associated constraints~(\ref {temp.constr.constr })
1761
- requires that their \grammarterm {constraint-expression}{s}
1762
- are \defnx {normalized}{normalization|see{constraint, normalization}}.
1763
- %
1764
- Normalization transforms a \grammarterm {constraint-expression} into a
1765
- sequence of conjunctions and disjunctions~(\ref {temp.constr.op })
1766
- of atomic constraints~(\ref {temp.constr.atomic }).
1767
- %
1768
1759
The \defn {normal form} of an \grammarterm {expression} \tcode {E} is
1769
- defined as follows:
1760
+ a constraint~( \ref { temp.constr.constr }) that is defined as follows:
1770
1761
%
1771
1762
\begin {itemize }
1772
1763
\item
1818
1809
whose parameter mapping is the identity mapping.
1819
1810
\end {itemize }
1820
1811
1812
+ \pnum
1813
+ The process of obtaining the normal form of a
1814
+ \grammarterm {constraint-expression}
1815
+ is called
1816
+ \defnx {normalization}{normalization|see{constraint, normalization}}.
1817
+ \begin {note }
1818
+ Normalization of \grammarterm {constraint-expression}{s}
1819
+ is performed
1820
+ when determining the associated constraints~(\ref {temp.constr.constr })
1821
+ of a declaration
1822
+ and
1823
+ when evaluating the value of an \grammarterm {id-expression}
1824
+ that names a concept specialization~(\ref {expr.prim.id }).
1825
+ \end {note }
1826
+
1827
+ \pnum
1821
1828
\begin {example }
1822
1829
\begin {codeblock }
1823
1830
template<typename T> concept C1 = sizeof(T) == 1;
You can’t perform that action at this time.
0 commit comments