tmp/tmplibvfztr/{from.md → to.md}
RENAMED
|
@@ -4,11 +4,11 @@
|
|
| 4 |
|
| 5 |
``` cpp
|
| 6 |
namespace std {
|
| 7 |
template <class T> class mask_array {
|
| 8 |
public:
|
| 9 |
-
|
| 10 |
|
| 11 |
void operator= (const valarray<T>&) const;
|
| 12 |
void operator*= (const valarray<T>&) const;
|
| 13 |
void operator/= (const valarray<T>&) const;
|
| 14 |
void operator%= (const valarray<T>&) const;
|
|
@@ -50,11 +50,11 @@ const mask_array& operator=(const mask_array&) const;
|
|
| 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 |
-
#### `mask_array`
|
| 56 |
|
| 57 |
``` cpp
|
| 58 |
void operator*= (const valarray<T>&) const;
|
| 59 |
void operator/= (const valarray<T>&) const;
|
| 60 |
void operator%= (const valarray<T>&) const;
|
|
@@ -65,11 +65,11 @@ void operator&= (const valarray<T>&) const;
|
|
| 65 |
void operator|= (const valarray<T>&) const;
|
| 66 |
void operator<<=(const valarray<T>&) const;
|
| 67 |
void operator>>=(const valarray<T>&) const;
|
| 68 |
```
|
| 69 |
|
| 70 |
-
These
|
| 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 |
#### `mask_array` fill function <a id="mask.array.fill">[[mask.array.fill]]</a>
|
| 75 |
|
|
|
|
| 4 |
|
| 5 |
``` cpp
|
| 6 |
namespace std {
|
| 7 |
template <class T> class mask_array {
|
| 8 |
public:
|
| 9 |
+
using value_type = T;
|
| 10 |
|
| 11 |
void operator= (const valarray<T>&) const;
|
| 12 |
void operator*= (const valarray<T>&) const;
|
| 13 |
void operator/= (const valarray<T>&) const;
|
| 14 |
void operator%= (const valarray<T>&) const;
|
|
|
|
| 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 |
+
#### `mask_array` compound assignment <a id="mask.array.comp.assign">[[mask.array.comp.assign]]</a>
|
| 56 |
|
| 57 |
``` cpp
|
| 58 |
void operator*= (const valarray<T>&) const;
|
| 59 |
void operator/= (const valarray<T>&) const;
|
| 60 |
void operator%= (const valarray<T>&) const;
|
|
|
|
| 65 |
void operator|= (const valarray<T>&) const;
|
| 66 |
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 |
#### `mask_array` fill function <a id="mask.array.fill">[[mask.array.fill]]</a>
|
| 75 |
|