#include <iota.hpp>
|
| | template (typename D=iota_view< int, To >)() const expr auto begin() -> detail::facade_iterator_t< D > |
| | Let d be static_cast<Derived &>(*this).
|
|
view_interface & | operator= (view_interface &&)=default |
|
CPP_member constexpr auto | empty () const noexcept -> CPP_ret(bool)() |
| | Test whether a range can be empty:
|
|
using | D |
|
constexpr view_as_cursor | begin_cursor () const |
|
constexpr default_sentinel_t | end_cursor () const |
|
constexpr iota_view< int, To > & | derived () noexcept |
|
friend | range_access |
ranges::views::ints
The ints view returns a range of monotonically increasing ints.
Example
Output
Syntax
auto output_range = ranges::views::ints(lower_bound, upper_bound);
The output_range concept.
Parameters
lower_bound
upper_bound
- Exclusive upper bound
- Required when lower_bound is specified
- To create an infinite range with a lower_bound, use ranges::unreachable as the upper_bound
output_range
- Range of monotonically increasing ints
- When an upper_bound is not specified, the range is quasi-infinite
The documentation for this struct was generated from the following file:
- 3rd_party/range-v3/range/v3/view/iota.hpp