Skip to content

Commit f703fb4

Browse files
committed
[atomics.ref.generic] Avoid use of undeclared 'T'
Fixes NB US 192-312 (C++26 CD).
1 parent 322d380 commit f703fb4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

source/threads.tex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3676,7 +3676,7 @@
36763676
\pnum
36773677
The program is ill-formed
36783678
if \tcode{is_always_lock_free} is \tcode{false} and
3679-
\tcode{is_volatile_v<T>} is \tcode{true}.
3679+
\tcode{is_volatile_v<\placeholder{integral-type}>} is \tcode{true}.
36803680

36813681
\begin{codeblock}
36823682
namespace std {
@@ -3894,7 +3894,7 @@
38943894
\pnum
38953895
The program is ill-formed
38963896
if \tcode{is_always_lock_free} is \tcode{false} and
3897-
\tcode{is_volatile_v<T>} is \tcode{true}.
3897+
\tcode{is_volatile_v<\placeholder{floating-point-type}>} is \tcode{true}.
38983898

38993899
\begin{codeblock}
39003900
namespace std {
@@ -4182,7 +4182,7 @@
41824182
\pnum
41834183
The program is ill-formed
41844184
if \tcode{is_always_lock_free} is \tcode{false} and
4185-
\tcode{is_volatile_v<T>} is \tcode{true}.
4185+
\tcode{is_volatile_v<\placeholder{pointer-type}>} is \tcode{true}.
41864186

41874187
\begin{codeblock}
41884188
namespace std {

0 commit comments

Comments
 (0)