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 e33be08 commit 4753486Copy full SHA for 4753486
source/concepts.tex
@@ -273,13 +273,18 @@
273
\indexlibrary{\idxcode{Same}}%
274
\begin{itemdecl}
275
template<class T, class U>
276
- concept Same = is_same_v<T, U>;
+ concept @\placeholdernc{same-impl}@ = is_same_v<T, U>; // \expos
277
+
278
+template<class T, class U>
279
+ concept Same = @\placeholdernc{same-impl}@<T, U> && @\placeholdernc{same-impl}@<U, T>;
280
\end{itemdecl}
281
282
\begin{itemdescr}
283
\pnum
284
+\begin{note}
285
\tcode{\libconcept{Same}<T, U>} subsumes \tcode{\libconcept{Same}<U, T>} and
286
vice versa.
287
+\end{note}
288
\end{itemdescr}
289
290
\rSec2[concept.derivedfrom]{Concept \libconcept{DerivedFrom}}
0 commit comments