15#ifndef RANGES_V3_VIEW_INDICES_HPP
16#define RANGES_V3_VIEW_INDICES_HPP
23#include <range/v3/utility/static_const.hpp>
26#include <range/v3/detail/prologue.hpp>
33 struct indices_fn : iota_view<std::size_t>
35 indices_fn() =
default;
37 template(
typename Val)(
38 requires integral<Val>)
39 iota_view<Val, Val> operator()(Val to)
const
43 template(
typename Val)(
44 requires integral<Val>)
45 iota_view<Val, Val> operator()(Val from, Val to)
const
54 template(
typename Val)(
55 requires integral<Val>)
60 template(
typename Val)(
61 requires integral<Val>)
78#include <range/v3/detail/epilogue.hpp>
RANGES_INLINE_VARIABLE(detail::to_container_fn< detail::from_range< std::vector > >, to_vector) template< template< typename... > class ContT > auto to(RANGES_HIDDEN_DETAIL(detail
For initializing a container of the specified type with the elements of an Range.
Definition conversion.hpp:399
Definition range_fwd.hpp:152
An iota view in a closed range.
Definition iota.hpp:184
Inclusive range of indices: [from, to].
Definition indices.hpp:53
Half-open range of indices: [from, to).
Definition indices.hpp:34