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)
34 template(typename O, typename S, typename V)(
36 constexpr O RANGES_FUNC(fill)(O first, S last, V const & val)
38 for(; first != last; ++first)
44 template(
typename Rng,
typename V)(
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>
The output_iterator concept.
The output_range concept.
The sentinel_for concept.