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