@@ -1029,7 +1029,7 @@ $(GNAME CastExpression):
1029
1029
(foo) - p; // subtract p from foo
1030
1030
-------------
1031
1031
1032
- $(H3 $(LNAME2 cast_class, Class References))
1032
+ $(H4 $(LNAME2 cast_class, Class References))
1033
1033
1034
1034
$(P Any casting of a class reference to a
1035
1035
derived class reference is done with a runtime check to make sure it
@@ -1073,7 +1073,7 @@ $(H3 $(LNAME2 cast_class, Class References))
1073
1073
(i.e. a reinterpret cast).
1074
1074
)
1075
1075
1076
- $(H3 $(LNAME2 cast_array, Arrays))
1076
+ $(H4 $(LNAME2 cast_array, Arrays))
1077
1077
1078
1078
$(P Casting a dynamic array to another dynamic array is done only if the
1079
1079
array lengths multiplied by the element sizes match. The cast is done
@@ -1095,7 +1095,7 @@ $(H3 $(LNAME2 cast_array, Arrays))
1095
1095
1096
1096
$(DDOC_SEE_ALSO $(RELATIVE_LINK2 cast_array_literal, Casting array literals).)
1097
1097
1098
- $(H3 $(LNAME2 cast_static_array, Static Arrays))
1098
+ $(H4 $(LNAME2 cast_static_array, Static Arrays))
1099
1099
1100
1100
$(P Casting a static array to another static array is done only if the
1101
1101
array lengths multiplied by the element sizes match; a mismatch
@@ -1120,7 +1120,7 @@ $(H3 $(LNAME2 cast_static_array, Static Arrays))
1120
1120
---
1121
1121
)
1122
1122
1123
- $(H3 $(LNAME2 cast_floating, Floating Point))
1123
+ $(H4 $(LNAME2 cast_floating, Floating Point))
1124
1124
1125
1125
$(P Casting a floating point literal from one type to another
1126
1126
changes its type, but internally it is retained at full
@@ -1172,7 +1172,7 @@ $(H3 $(LNAME2 cast_floating, Floating Point))
1172
1172
}
1173
1173
---
1174
1174
1175
- $(H3 $(LNAME2 cast_struct, Struct ))
1175
+ $(H4 $(LNAME2 cast_struct, Structs ))
1176
1176
1177
1177
$(P Casting a value $(I v) to a struct $(I S), when value is not a struct
1178
1178
of the same type, is equivalent to:)
@@ -1181,7 +1181,7 @@ $(H3 $(LNAME2 cast_struct, Struct))
1181
1181
S(v)
1182
1182
---
1183
1183
1184
- $(H3 $(LNAME2 cast_qualifier, Qualifier Cast))
1184
+ $(H4 $(LNAME2 cast_qualifier, Qualifier Cast))
1185
1185
1186
1186
$(GRAMMAR
1187
1187
$(GNAME CastQual):
@@ -1210,7 +1210,7 @@ $(GNAME CastQual):
1210
1210
---
1211
1211
)
1212
1212
1213
- $(H3 $(LNAME2 cast_void, Casting to `void`))
1213
+ $(H4 $(LNAME2 cast_void, Casting to `void`))
1214
1214
1215
1215
$(P Casting an expression to $(D void) type is allowed to mark that
1216
1216
the result is unused. On $(GLINK2 statement, ExpressionStatement),
0 commit comments