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)(
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.
template(typename Rng, typename V)() const expr borrowed_iterator_t< Rng > RANGES_FUNC(fill)(Rng &&rng
This is an overloaded member function, provided for convenience. It differs from the above function o...
front< Pair > first
Retrieve the first element of the pair Pair.
Definition: meta.hpp:2251