From Jason Turner

[valarray.unary]

Diff to HTML by rtfpessoa

tmp/tmpffks85qy/{from.md → to.md} RENAMED
@@ -1,19 +1,18 @@
1
- #### `valarray` unary operators <a id="valarray.unary">[[valarray.unary]]</a>
2
 
3
  ``` cpp
4
  valarray operator+() const;
5
  valarray operator-() const;
6
  valarray operator~() const;
7
  valarray<bool> operator!() const;
8
  ```
9
 
10
- *Requires:* Each of these operators may only be instantiated for a type
11
- `T` to which the indicated operator can be applied and for which the
12
- indicated operator returns a value which is of type `T` (`bool` for
13
- `operator!`) or which may be unambiguously implicitly converted to type
14
- `T` (`bool` for `operator!`).
15
 
16
  *Returns:* A `valarray` whose length is `size()`. Each element of the
17
  returned array is initialized with the result of applying the indicated
18
  operator to the corresponding element of the array.
19
 
 
1
+ #### Unary operators <a id="valarray.unary">[[valarray.unary]]</a>
2
 
3
  ``` cpp
4
  valarray operator+() const;
5
  valarray operator-() const;
6
  valarray operator~() const;
7
  valarray<bool> operator!() const;
8
  ```
9
 
10
+ *Mandates:* The indicated operator can be applied to operands of type
11
+ `T` and returns a value of type `T` (`bool` for `operator!`) or which
12
+ may be unambiguously implicitly converted to type `T` (`bool` for
13
+ `operator!`).
 
14
 
15
  *Returns:* A `valarray` whose length is `size()`. Each element of the
16
  returned array is initialized with the result of applying the indicated
17
  operator to the corresponding element of the array.
18