Skip to content

Commit 87ef71b

Browse files
committed
[dcl.type.cv]/6 "program behavior" vs "behavior"
[dcl.type.cv]/6 reads > If an attempt is made to refer to an object defined with a volatile-qualified type through the use of a glvalue with a non-volatile-qualified type, the program behavior is undefined. This is probably meant to use the much more idiomatic phrase "the behavior is undefined". A distinction between well-definedness of the program's and the implementation's behavior would presumably be inappropriate, anyway.
1 parent 9c123b4 commit 87ef71b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/declarations.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1181,7 +1181,7 @@
11811181
implementation-defined.
11821182
If an attempt is made to refer to an object defined with a
11831183
volatile-qualified type through the use of a glvalue with a
1184-
non-volatile-qualified type, the program behavior is undefined.
1184+
non-volatile-qualified type, the behavior is undefined.
11851185

11861186
\pnum
11871187
\indextext{type~specifier!\idxcode{volatile}}%

0 commit comments

Comments
 (0)