From Jason Turner

[valarray.range]

Diff to HTML by rtfpessoa

tmp/tmpw1ug8wvf/{from.md → to.md} RENAMED
@@ -6,10 +6,15 @@ iterator ([[random.access.iterators]]) whose `value_type` is the
6
  template parameter `T` and whose `reference` type is `T&`.
7
  *unspecified*2 is a type that meets the requirements of a constant
8
  random access iterator ([[random.access.iterators]]) whose `value_type`
9
  is the template parameter `T` and whose `reference` type is `const T&`.
10
 
 
 
 
 
 
11
  ``` cpp
12
  template <class T> unspecified{1} begin(valarray<T>& v);
13
  template <class T> unspecified{2} begin(const valarray<T>& v);
14
  ```
15
 
 
6
  template parameter `T` and whose `reference` type is `T&`.
7
  *unspecified*2 is a type that meets the requirements of a constant
8
  random access iterator ([[random.access.iterators]]) whose `value_type`
9
  is the template parameter `T` and whose `reference` type is `const T&`.
10
 
11
+ The iterators returned by `begin` and `end` for an array are guaranteed
12
+ to be valid until the member function `resize(size_t, T)` (
13
+ [[valarray.members]]) is called for that array or until the lifetime of
14
+ that array ends, whichever happens first.
15
+
16
  ``` cpp
17
  template <class T> unspecified{1} begin(valarray<T>& v);
18
  template <class T> unspecified{2} begin(const valarray<T>& v);
19
  ```
20