@@ -105,7 +105,7 @@ $(H3 $(LNAME2 struct-members, Struct Members))
105
105
$(LI $(RELATIVE_LINK2 Invariant, Invariants))
106
106
$(LI $(DDLINK spec/operatoroverloading, Operator Overloading, Operator Overloading))
107
107
)
108
- $(LI $(DDSUBLINK spec/class, alias-this, Alias This))
108
+ $(LI $(RELATIVE_LINK2 alias-this, Alias This))
109
109
$(LI Other declarations (see $(GLINK2 module, DeclDef)))
110
110
)
111
111
)
@@ -133,7 +133,7 @@ $(H3 $(LNAME2 union-members, Union Members))
133
133
$(LI $(RELATIVE_LINK2 UnionConstructor, Constructors))
134
134
$(LI $(DDLINK spec/operatoroverloading, Operator Overloading, Operator Overloading))
135
135
)
136
- $(LI $(DDSUBLINK spec/class, alias-this, Alias This))
136
+ $(LI $(RELATIVE_LINK2 alias-this, Alias This))
137
137
$(LI Other declarations (see $(GLINK2 module, DeclDef)))
138
138
)
139
139
)
@@ -2017,7 +2017,7 @@ $(GNAME AliasThis):
2017
2017
The $(I Identifier) names that member.
2018
2018
)
2019
2019
2020
- $(P A struct can be implicitly converted to the $(I AliasThis)
2020
+ $(P A struct or union instance can be implicitly converted to the $(I AliasThis)
2021
2021
member.
2022
2022
)
2023
2023
@@ -2079,7 +2079,7 @@ void main()
2079
2079
)
2080
2080
2081
2081
$(P If the $(I Identifier) refers to a property member
2082
- function with no parameters, conversions and undefined
2082
+ function with no parameters then conversions and undefined
2083
2083
lookups are forwarded to the return value of the function.
2084
2084
)
2085
2085
@@ -2106,11 +2106,11 @@ void main()
2106
2106
)
2107
2107
2108
2108
$(P If a struct declaration defines an $(D opCmp) or $(D opEquals)
2109
- method, it will take precedence to that of the aliased this member. Note
2109
+ method, it will take precedence to that of the *AliasThis* member. Note
2110
2110
that, unlike an $(D opCmp) method, an $(D opEquals) method is implicitly
2111
- defined for a $(D struct) declaration if a user defined one isn't provided;
2112
- this means that if the aliased this member $(D opEquals) is preferred it
2113
- should be explicitly defined:
2111
+ defined for a $(D struct) declaration if a user- defined one isn't provided.
2112
+ This means that if the *AliasThis* member's $(D opEquals) should be used, it
2113
+ must be explicitly defined:
2114
2114
)
2115
2115
$(SPEC_RUNNABLE_EXAMPLE_RUN
2116
2116
---
@@ -2179,7 +2179,7 @@ void main()
2179
2179
$(P $(GLINK2 attribute, Attribute)s are ignored for $(D AliasThis).
2180
2180
)
2181
2181
2182
- $(P A struct may have a single $(I AliasThis) member.)
2182
+ $(P A struct/union may only have a single $(I AliasThis) member.)
2183
2183
2184
2184
2185
2185
0 commit comments