Skip to content

Commit 1e8f6d2

Browse files
author
Dawn Perchik
committed
[temp.constr.op] Add reference to [temp.constr.atomic] in example added for US111
1 parent 27d9f5b commit 1e8f6d2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

source/templates.tex

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1570,7 +1570,8 @@
15701570

15711571
template <class T> int f1(T) requires (!sad<T>);
15721572
template <class T> int f1(T) requires (!sad<T>) && true;
1573-
int i1 = f1(42); // ambiguous, \tcode{!sad<T>} atomic constraint expressions are not formed from the same \grammarterm{expression}
1573+
int i1 = f1(42); // ambiguous, \tcode{!sad<T>} atomic constraint expressions\iref{temp.constr.atomic}
1574+
// are not formed from the same \grammarterm{expression}
15741575

15751576
template <class T> concept not_sad = !sad<T>;
15761577
template <class T> int f2(T) requires not_sad<T>;

0 commit comments

Comments
 (0)