From Jason Turner

[alg.fill]

Diff to HTML by rtfpessoa

tmp/tmpg0txs532/{from.md → to.md} RENAMED
@@ -11,11 +11,10 @@ template<class OutputIterator, class Size, class T>
11
  constexpr OutputIterator fill_n(OutputIterator first, Size n, const T& value);
12
  template<class ExecutionPolicy, class ForwardIterator, class Size, class T>
13
  ForwardIterator fill_n(ExecutionPolicy&& exec,
14
  ForwardIterator first, Size n, const T& value);
15
 
16
-
17
  template<class T, output_iterator<const T&> O, sentinel_for<O> S>
18
  constexpr O ranges::fill(O first, S last, const T& value);
19
  template<class T, output_range<const T&> R>
20
  constexpr borrowed_iterator_t<R> ranges::fill(R&& r, const T& value);
21
  template<class T, output_iterator<const T&> O>
@@ -25,12 +24,12 @@ template<class T, output_iterator<const T&> O>
25
  Let N be max(0, `n`) for the `fill_n` algorithms, and `last - first` for
26
  the `fill` algorithms.
27
 
28
  *Mandates:* The expression `value` is
29
  writable [[iterator.requirements.general]] to the output iterator. The
30
- type `Size` is convertible to an integral type ([[conv.integral]],
31
- [[class.conv]]).
32
 
33
  *Effects:* Assigns `value` through all the iterators in the range
34
  \[`first`, `first + `N).
35
 
36
  *Returns:* `first + `N.
 
11
  constexpr OutputIterator fill_n(OutputIterator first, Size n, const T& value);
12
  template<class ExecutionPolicy, class ForwardIterator, class Size, class T>
13
  ForwardIterator fill_n(ExecutionPolicy&& exec,
14
  ForwardIterator first, Size n, const T& value);
15
 
 
16
  template<class T, output_iterator<const T&> O, sentinel_for<O> S>
17
  constexpr O ranges::fill(O first, S last, const T& value);
18
  template<class T, output_range<const T&> R>
19
  constexpr borrowed_iterator_t<R> ranges::fill(R&& r, const T& value);
20
  template<class T, output_iterator<const T&> O>
 
24
  Let N be max(0, `n`) for the `fill_n` algorithms, and `last - first` for
25
  the `fill` algorithms.
26
 
27
  *Mandates:* The expression `value` is
28
  writable [[iterator.requirements.general]] to the output iterator. The
29
+ type `Size` is convertible to an integral
30
+ type [[conv.integral]], [[class.conv]].
31
 
32
  *Effects:* Assigns `value` through all the iterators in the range
33
  \[`first`, `first + `N).
34
 
35
  *Returns:* `first + `N.