tmp/tmpdfxqb1w5/{from.md → to.md}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
| 1 |
### Header `<valarray>` synopsis <a id="valarray.syn">[[valarray.syn]]</a>
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
-
#include <initializer_list>
|
| 5 |
|
| 6 |
namespace std {
|
| 7 |
template<class T> class valarray; // An array of type T
|
| 8 |
class slice; // a BLAS-like slice out of an array
|
| 9 |
template<class T> class slice_array;
|
|
@@ -162,11 +162,11 @@ aliasing, thus allowing operations on these classes to be optimized.
|
|
| 162 |
|
| 163 |
Any function returning a `valarray<T>` is permitted to return an object
|
| 164 |
of another type, provided all the const member functions of
|
| 165 |
`valarray<T>` are also applicable to this type. This return type shall
|
| 166 |
not add more than two levels of template nesting over the most deeply
|
| 167 |
-
nested argument type.[^
|
| 168 |
|
| 169 |
Implementations introducing such replacement types shall provide
|
| 170 |
additional functions and operators as follows:
|
| 171 |
|
| 172 |
- for every function taking a `const valarray<T>&` other than `begin`
|
|
|
|
| 1 |
### Header `<valarray>` synopsis <a id="valarray.syn">[[valarray.syn]]</a>
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
+
#include <initializer_list> // see [initializer.list.syn]
|
| 5 |
|
| 6 |
namespace std {
|
| 7 |
template<class T> class valarray; // An array of type T
|
| 8 |
class slice; // a BLAS-like slice out of an array
|
| 9 |
template<class T> class slice_array;
|
|
|
|
| 162 |
|
| 163 |
Any function returning a `valarray<T>` is permitted to return an object
|
| 164 |
of another type, provided all the const member functions of
|
| 165 |
`valarray<T>` are also applicable to this type. This return type shall
|
| 166 |
not add more than two levels of template nesting over the most deeply
|
| 167 |
+
nested argument type.[^8]
|
| 168 |
|
| 169 |
Implementations introducing such replacement types shall provide
|
| 170 |
additional functions and operators as follows:
|
| 171 |
|
| 172 |
- for every function taking a `const valarray<T>&` other than `begin`
|