From Jason Turner

[template.mask.array]

Diff to HTML by rtfpessoa

tmp/tmptc15tq84/{from.md → to.md} RENAMED
@@ -31,11 +31,11 @@ namespace std {
31
  ```
32
 
33
  This template is a helper template used by the mask subscript operator:
34
 
35
  ``` cpp
36
- mask_array<T> valarray<T>::operator[](const valarray<bool>&).
37
  ```
38
 
39
  It has reference semantics to a subset of an array specified by a
40
  boolean mask. Thus, the expression `a[mask] = b;` has the effect of
41
  assigning the elements of `b` to the masked elements in `a` (those for
@@ -48,11 +48,11 @@ void operator=(const valarray<T>&) const;
48
  const mask_array& operator=(const mask_array&) const;
49
  ```
50
 
51
  These assignment operators have reference semantics, assigning the
52
  values of the argument array elements to selected elements of the
53
- `valarray<T>` object to which it refers.
54
 
55
  #### Compound assignment <a id="mask.array.comp.assign">[[mask.array.comp.assign]]</a>
56
 
57
  ``` cpp
58
  void operator*= (const valarray<T>&) const;
@@ -67,11 +67,12 @@ void operator<<=(const valarray<T>&) const;
67
  void operator>>=(const valarray<T>&) const;
68
  ```
69
 
70
  These compound assignments have reference semantics, applying the
71
  indicated operation to the elements of the argument array and selected
72
- elements of the `valarray<T>` object to which the mask object refers.
 
73
 
74
  #### Fill function <a id="mask.array.fill">[[mask.array.fill]]</a>
75
 
76
  ``` cpp
77
  void operator=(const T&) const;
 
31
  ```
32
 
33
  This template is a helper template used by the mask subscript operator:
34
 
35
  ``` cpp
36
+ mask_array<T> valarray<T>::operator[](const valarray<bool>&);
37
  ```
38
 
39
  It has reference semantics to a subset of an array specified by a
40
  boolean mask. Thus, the expression `a[mask] = b;` has the effect of
41
  assigning the elements of `b` to the masked elements in `a` (those for
 
48
  const mask_array& operator=(const mask_array&) const;
49
  ```
50
 
51
  These assignment operators have reference semantics, assigning the
52
  values of the argument array elements to selected elements of the
53
+ `valarray<T>` object to which the `mask_array` object refers.
54
 
55
  #### Compound assignment <a id="mask.array.comp.assign">[[mask.array.comp.assign]]</a>
56
 
57
  ``` cpp
58
  void operator*= (const valarray<T>&) const;
 
67
  void operator>>=(const valarray<T>&) const;
68
  ```
69
 
70
  These compound assignments have reference semantics, applying the
71
  indicated operation to the elements of the argument array and selected
72
+ elements of the `valarray<T>` object to which the `mask_array` object
73
+ refers.
74
 
75
  #### Fill function <a id="mask.array.fill">[[mask.array.fill]]</a>
76
 
77
  ``` cpp
78
  void operator=(const T&) const;