Skip to content

Commit

Permalink
Make sentence a new para. (#1061)
Browse files Browse the repository at this point in the history
  • Loading branch information
RexJaeschke authored Mar 21, 2024
1 parent d11d5a1 commit 4bba1b8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions standard/classes.md
Original file line number Diff line number Diff line change
Expand Up @@ -4490,6 +4490,7 @@ The following rules apply to binary operator declarations, where `T` denotes the
- A binary non-shift operator shall take two parameters, at least one of which shall have type `T` or `T?`, and can return any type.
- A binary `<<` or `>>` operator ([§12.11](expressions.md#1211-shift-operators)) shall take two parameters, the first of which shall have type `T` or T? and the second of which shall have type `int` or `int?`, and can return any type.
The signature of a binary operator consists of the operator token (`+`, `-`, `*`, `/`, `%`, `&`, `|`, `^`, `<<`, `>>`, `==`, `!=`, `>`, `<`, `>=`, or `<=`) and the types of the two formal parameters. The return type and the names of the formal parameters are not part of a binary operators signature.
Certain binary operators require pair-wise declaration. For every declaration of either operator of a pair, there shall be a matching declaration of the other operator of the pair. Two operator declarations match if identity conversions exist between their return types and their corresponding parameter types. The following operators require pair-wise declaration:
Expand Down

0 comments on commit 4bba1b8

Please sign in to comment.