tmp/tmp78vj1uzf/{from.md → to.md}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
-
####
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
namespace std {
|
| 5 |
template<class T> class indirect_array {
|
| 6 |
public:
|
|
@@ -34,9 +34,9 @@ operator
|
|
| 34 |
``` cpp
|
| 35 |
indirect_array<T> valarray<T>::operator[](const valarray<size_t>&).
|
| 36 |
```
|
| 37 |
|
| 38 |
It has reference semantics to a subset of an array specified by an
|
| 39 |
-
`indirect_array`. Thus the expression `a[indirect] = b;` has the
|
| 40 |
-
of assigning the elements of `b` to the elements in `a` whose
|
| 41 |
-
appear in `indirect`.
|
| 42 |
|
|
|
|
| 1 |
+
#### Overview <a id="template.indirect.array.overview">[[template.indirect.array.overview]]</a>
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
namespace std {
|
| 5 |
template<class T> class indirect_array {
|
| 6 |
public:
|
|
|
|
| 34 |
``` cpp
|
| 35 |
indirect_array<T> valarray<T>::operator[](const valarray<size_t>&).
|
| 36 |
```
|
| 37 |
|
| 38 |
It has reference semantics to a subset of an array specified by an
|
| 39 |
+
`indirect_array`. Thus, the expression `a[{}indirect] = b;` has the
|
| 40 |
+
effect of assigning the elements of `b` to the elements in `a` whose
|
| 41 |
+
indices appear in `indirect`.
|
| 42 |
|