@@ -787,7 +787,7 @@ $(GNAME AddExpression):
787
787
$(P Add expressions for floating point operands are not associative.
788
788
)
789
789
790
- $(H3 $(LNAME2 pointer_ops , Pointer Operations ))
790
+ $(H3 $(LNAME2 pointer_arithmetic , Pointer Arithmetic ))
791
791
792
792
$(P If the operator is $(D +) or $(D -), and
793
793
the first operand is a pointer, and the second is an integral type,
@@ -814,6 +814,8 @@ $(GNAME AddExpression):
814
814
The type of the result is $(D ptrdiff_t).
815
815
)
816
816
817
+ $(P $(GLINK IndexExpression) can also be used with a pointer.)
818
+
817
819
$(H2 $(LNAME2 cat_expressions, Cat Expressions))
818
820
819
821
$(GRAMMAR
@@ -901,7 +903,7 @@ $(GNAME UnaryExpression):
901
903
902
904
$(TABLE
903
905
$(THEAD Operator, Description)
904
- $(TROW `&`, Take memory address of an $(RELATIVE_LINK2 .define-lvalue, lvalue)$(COMMA) producing a pointer)
906
+ $(TROW `&`, Take memory address of an $(RELATIVE_LINK2 .define-lvalue, lvalue) - see $(DDSUBLINK arrays, pointer, pointers) )
905
907
$(TROW `++`, Increment before use - see $(RELATIVE_LINK2 order-of-evaluation, order of evaluation))
906
908
$(TROW `--`, Decrement before use)
907
909
$(TROW `*`, Dereference/indirection - typically for pointers)
0 commit comments