Skip to content

Commit c17f3db

Browse files
committed
langref: add pointer arithmetic to operator tagle
1 parent 13541bc commit c17f3db

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

doc/langref.html.in

+5
Original file line numberDiff line numberDiff line change
@@ -1148,13 +1148,15 @@ a += b{#endsyntax#}</pre></td>
11481148
<ul>
11491149
<li>{#link|Integers#}</li>
11501150
<li>{#link|Floats#}</li>
1151+
<li>{#link|Pointers#}</li>
11511152
</ul>
11521153
</td>
11531154
<td>
11541155
<ul>
11551156
<li>Can cause {#link|overflow|Default Operations#} for integers.</li>
11561157
<li>Invokes {#link|Peer Type Resolution#} for the operands.</li>
11571158
<li>See also {#link|@addWithOverflow#}.</li>
1159+
<li>{#syntax#}[*]T + int{#endsyntax#} is supported.</li>
11581160
</ul>
11591161
</td>
11601162
<td>
@@ -1207,13 +1209,16 @@ a -= b{#endsyntax#}</pre></td>
12071209
<ul>
12081210
<li>{#link|Integers#}</li>
12091211
<li>{#link|Floats#}</li>
1212+
<li>{#link|Pointers#}</li>
12101213
</ul>
12111214
</td>
12121215
<td>
12131216
<ul>
12141217
<li>Can cause {#link|overflow|Default Operations#} for integers.</li>
12151218
<li>Invokes {#link|Peer Type Resolution#} for the operands.</li>
12161219
<li>See also {#link|@subWithOverflow#}.</li>
1220+
<li>{#syntax#}[*]T - int{#endsyntax#} is supported.</li>
1221+
<li>{#syntax#}[*]T - [*]T{#endsyntax#} and {#syntax#}*T - *T{#endsyntax#} are supprorted.</li>
12171222
</ul>
12181223
</td>
12191224
<td>

0 commit comments

Comments
 (0)