tmp/tmp6pm9uclx/{from.md → to.md}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
-
####
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
namespace std {
|
| 5 |
template<class T> class mask_array {
|
| 6 |
public:
|
|
@@ -35,7 +35,7 @@ mask_array<T> valarray<T>::operator[](const valarray<bool>&).
|
|
| 35 |
```
|
| 36 |
|
| 37 |
It has reference semantics to a subset of an array specified by a
|
| 38 |
boolean mask. Thus, the expression `a[mask] = b;` has the effect of
|
| 39 |
assigning the elements of `b` to the masked elements in `a` (those for
|
| 40 |
-
which the corresponding element in `mask` is `true`
|
| 41 |
|
|
|
|
| 1 |
+
#### Overview <a id="template.mask.array.overview">[[template.mask.array.overview]]</a>
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
namespace std {
|
| 5 |
template<class T> class mask_array {
|
| 6 |
public:
|
|
|
|
| 35 |
```
|
| 36 |
|
| 37 |
It has reference semantics to a subset of an array specified by a
|
| 38 |
boolean mask. Thus, the expression `a[mask] = b;` has the effect of
|
| 39 |
assigning the elements of `b` to the masked elements in `a` (those for
|
| 40 |
+
which the corresponding element in `mask` is `true`).
|
| 41 |
|