Skip to content

Commit 196df1a

Browse files
jensmaurertkoeppe
authored andcommitted
[atomics.ref.generic] Avoid use of undeclared 'T'
Fixes NB US 192-312 (C++26 CD).
1 parent 7e30ea0 commit 196df1a

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
@@ -3674,7 +3674,7 @@
36743674
\pnum
36753675
The program is ill-formed
36763676
if \tcode{is_always_lock_free} is \tcode{false} and
3677-
\tcode{is_volatile_v<T>} is \tcode{true}.
3677+
\tcode{is_volatile_v<\placeholder{integral-type}>} is \tcode{true}.
36783678

36793679
\begin{codeblock}
36803680
namespace std {
@@ -3892,7 +3892,7 @@
38923892
\pnum
38933893
The program is ill-formed
38943894
if \tcode{is_always_lock_free} is \tcode{false} and
3895-
\tcode{is_volatile_v<T>} is \tcode{true}.
3895+
\tcode{is_volatile_v<\placeholder{floating-point-type}>} is \tcode{true}.
38963896

38973897
\begin{codeblock}
38983898
namespace std {
@@ -4180,7 +4180,7 @@
41804180
\pnum
41814181
The program is ill-formed
41824182
if \tcode{is_always_lock_free} is \tcode{false} and
4183-
\tcode{is_volatile_v<T>} is \tcode{true}.
4183+
\tcode{is_volatile_v<\placeholder{pointer-type}>} is \tcode{true}.
41844184

41854185
\begin{codeblock}
41864186
namespace std {

0 commit comments

Comments
 (0)