From Jason Turner

[numeric.iota]

Diff to HTML by rtfpessoa

tmp/tmpbx0fk_am/{from.md → to.md} RENAMED
@@ -1,14 +1,14 @@
1
  ### Iota <a id="numeric.iota">[[numeric.iota]]</a>
2
 
3
  ``` cpp
4
  template<class ForwardIterator, class T>
5
- void iota(ForwardIterator first, ForwardIterator last, T value);
6
  ```
7
 
8
- *Requires:* `T` shall be convertible to `ForwardIterator`’s value type.
9
- The expression `++val`, where `val` has type `T`, shall be well formed.
10
 
11
  *Effects:* For each element referred to by the iterator `i` in the range
12
  \[`first`, `last`), assigns `*i = value` and increments `value` as if by
13
  `++value`.
14
 
 
1
  ### Iota <a id="numeric.iota">[[numeric.iota]]</a>
2
 
3
  ``` cpp
4
  template<class ForwardIterator, class T>
5
+ constexpr void iota(ForwardIterator first, ForwardIterator last, T value);
6
  ```
7
 
8
+ *Mandates:* `T` is convertible to `ForwardIterator`’s value type. The
9
+ expression `++val`, where `val` has type `T`, is well-formed.
10
 
11
  *Effects:* For each element referred to by the iterator `i` in the range
12
  \[`first`, `last`), assigns `*i = value` and increments `value` as if by
13
  `++value`.
14