Skip to content

Commit 27d9f5b

Browse files
author
Dawn Perchik
committed
[temp.constr.op] Reword comment in example added for US111 as suggested by Casey
1 parent e7a9b53 commit 27d9f5b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

source/templates.tex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1570,15 +1570,15 @@
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>} constraints are not formed from the same \grammarterm{expression}
1573+
int i1 = f1(42); // ambiguous, \tcode{!sad<T>} atomic constraint expressions are not formed from the same \grammarterm{expression}
15741574

15751575
template <class T> concept not_sad = !sad<T>;
15761576
template <class T> int f2(T) requires not_sad<T>;
15771577
template <class T> int f2(T) requires not_sad<T> && true;
1578-
int i2 = f2(42); // OK, \tcode{!sad<T>} constraints both come from \tcode{not_sad}
1578+
int i2 = f2(42); // OK, \tcode{!sad<T>} atomic constraint expressions both come from \tcode{not_sad}
15791579

15801580
template <class T> int f3(T) requires (!sad<typename T::type>);
1581-
int i3 = f3(42); // error, constraint not satisfied due to substitution failure
1581+
int i3 = f3(42); // error, associated constraints not satisfied due to substitution failure
15821582

15831583
template <class T> concept sad_nested_type = sad<typename T::type>;
15841584
template <class T> int f4(T) requires (!sad_nested_type<T>);

0 commit comments

Comments
 (0)