13 #ifndef RANGES_V3_ALGORITHM_FILL_HPP
14 #define RANGES_V3_ALGORITHM_FILL_HPP
23 #include <range/v3/utility/static_const.hpp>
25 #include <range/v3/detail/prologue.hpp>
31 RANGES_FUNC_BEGIN(fill)
36 constexpr O RANGES_FUNC(fill)(O
first, S last, V const & val)
44 template(
typename Rng,
typename V)(
45 requires output_range<Rng, V const &>)
46 constexpr borrowed_iterator_t<Rng> RANGES_FUNC(fill)(Rng && rng, V
const & val)
48 return (*
this)(begin(rng), end(rng), val);
60 #include <range/v3/detail/epilogue.hpp>
template(typename Rng, typename V)(requires output_range< Rng
This is an overloaded member function, provided for convenience. It differs from the above function o...
CPP_concept sentinel_for
\concept sentinel_for
Definition: concepts.hpp:306
CPP_concept output_iterator
\concept output_iterator
Definition: concepts.hpp:347
front< Pair > first
Retrieve the first element of the pair Pair.
Definition: meta.hpp:2251