From Jason Turner

[class.eq]

Diff to HTML by rtfpessoa

tmp/tmp8jnszh52/{from.md → to.md} RENAMED
@@ -5,17 +5,17 @@ declared return type `bool`.
5
 
6
  A defaulted `==` operator function for a class `C` is defined as deleted
7
  unless, for each `xᵢ` in the expanded list of subobjects for an object
8
  `x` of type `C`, `xᵢ`` == ``xᵢ` is usable [[class.compare.default]].
9
 
10
- The return value `V` of a defaulted `==` operator function with
11
- parameters `x` and `y` is determined by comparing corresponding elements
12
- `xᵢ` and `yᵢ` in the expanded lists of subobjects for `x` and `y` (in
13
- increasing index order) until the first index i where `xᵢ`` == ``yᵢ`
14
- yields a result value which, when contextually converted to `bool`,
15
- yields `false`. If no such index exists, `V` is `true`. Otherwise, `V`
16
- is `false`.
17
 
18
  [*Example 1*:
19
 
20
  ``` cpp
21
  struct D {
 
5
 
6
  A defaulted `==` operator function for a class `C` is defined as deleted
7
  unless, for each `xᵢ` in the expanded list of subobjects for an object
8
  `x` of type `C`, `xᵢ`` == ``xᵢ` is usable [[class.compare.default]].
9
 
10
+ The return value of a defaulted `==` operator function with parameters
11
+ `x` and `y` is determined by comparing corresponding elements `xᵢ` and
12
+ `yᵢ` in the expanded lists of subobjects for `x` and `y` (in increasing
13
+ index order) until the first index i where `xᵢ`` == ``yᵢ` yields a
14
+ result value which, when contextually converted to `bool`, yields
15
+ `false`. The return value is `false` if such an index exists and `true`
16
+ otherwise.
17
 
18
  [*Example 1*:
19
 
20
  ``` cpp
21
  struct D {