@@ -1527,11 +1527,12 @@ $(H4 $(LNAME2 cast_floating, Floating Point))
1527
1527
1528
1528
$(H4 $(LNAME2 cast_struct, Structs))
1529
1529
1530
- $(P Casting a value $(I v) to a struct $(I S), when value is not a struct
1531
- of the same type, is equivalent to:)
1530
+ $(P Casting an expression $(I e) to a struct $(I S), when the
1531
+ expression is not a struct of the same type, is equivalent to a
1532
+ $(GLINK PostfixExpression):)
1532
1533
1533
1534
---
1534
- S(v )
1535
+ S(e )
1535
1536
---
1536
1537
1537
1538
$(H4 $(LNAME2 cast_qualifier, Qualifier Cast))
@@ -1666,8 +1667,10 @@ $(TABLE
1666
1667
$(TROW `--`, Decrement after use)
1667
1668
$(TROW `(args)`,
1668
1669
Either:
1669
- * Call an expression with optional arguments
1670
- * Construct a type with optional arguments
1670
+ * $(RELATIVE_LINK2 callable_expressions, Call an expression) with optional arguments
1671
+ * Call $(DDSUBLINK spec/operatoroverloading, static-opcall,
1672
+ static `opCall`) on a user-defined type
1673
+ * $(RELATIVE_LINK2 type-constructor-arguments, Construct a type) with optional arguments
1671
1674
)
1672
1675
$(TROW *IndexOperation*, Select a single element)
1673
1676
$(TROW *SliceOperation*, Select a series of elements)
@@ -1691,6 +1694,8 @@ $(GNAME NamedArgument):
1691
1694
$(GLINK AssignExpression)
1692
1695
)
1693
1696
1697
+ $(H4 $(LNAME2 callable_expressions, Callable Expressions))
1698
+
1694
1699
$(P A callable expression can precede a list of named arguments in parentheses.
1695
1700
The following expressions can be called:)
1696
1701
0 commit comments