We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 774b335 + bd515f0 commit 47314bcCopy full SHA for 47314bc
spec/expression.dd
@@ -563,7 +563,8 @@ $(GNAME AddExpression):
563
$(P If both operands are pointers, and the operator is $(D -),
564
the pointers are subtracted and the
565
result is divided by the size of the type pointed to by the
566
- operands. It is an error if the pointers point to different types.
+ operands. In this calculation the assumed size of $(D void) is one byte.
567
+ It is an error if the pointers point to different types.
568
The type of the result is $(D ptrdiff_t).
569
)
570
0 commit comments