We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 763a125 commit ca3cb94Copy full SHA for ca3cb94
source/expressions.tex
@@ -1576,17 +1576,6 @@
1576
\grammarterm{requires-clause}, and the second
1577
introduces the \grammarterm{requires-expression}.
1578
\end{example}
1579
-\begin{note}
1580
-Such requirements can also be written by defining them within
1581
-a concept.
1582
-\begin{codeblock}
1583
-template<typename T>
1584
- concept C = requires (T x) { x + x; };
1585
-
1586
-template<typename T> requires C<T>
1587
- T add(T a, T b) { return a + b; }
1588
-\end{codeblock}
1589
-\end{note}
1590
1591
\pnum
1592
A \grammarterm{requires-expression} may introduce local parameters using a
0 commit comments