Skip to content

Commit 5d7e597

Browse files
authored
Please don't destroy me
1 parent 55f97f1 commit 5d7e597

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

spec/const3.dd

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,10 @@ $(HEADERNAV_TOC)
1212

1313
$(H2 $(LNAME2 transitive, Transitivity))
1414

15-
$(P Type qualifiers apply transitively to all subtypes.
16-
It is not possible to specify, for example, a const pointer
17-
to a mutable type.
15+
$(P Type qualifiers apply transitively to all memory transitively
16+
reachable from the qualified type.
17+
It is not possible to specify, for example, a `const` pointer
18+
to a mutable type, or a non-`const` field in a `const` `struct`.
1819
)
1920

2021
$(P Types are $(I mutable) by default, meaning variables with such

0 commit comments

Comments
 (0)