|
Horizon
|
#include <iota.hpp>
Additional Inherited Members | |
Public Member Functions inherited from ranges::iota_view< int > | |
| constexpr | iota_view (int from) |
| constexpr | iota_view (meta::id_t< int > from, meta::id_t< To > to) |
Public Member Functions inherited from ranges::view_facade< iota_view< int, To >, same_as< To, unreachable_sentinel_t > ? infinite :std::is_integral< int >::value &&std::is_integral< To >::value ? finite :unknown > | |
| template (typename D=iota_view< int, To >)() const expr auto begin() -> detail::facade_iterator_t< D > | |
Let d be static_cast<Derived &>(*this). More... | |
| template (typename D=iota_view< int, To >)() const expr auto begin() const -> detail::facade_iterator_t< D const > | |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. | |
| template (typename D=iota_view< int, To >)() const expr auto end() -> detail::facade_sentinel_t< D > | |
Let d be static_cast<Derived &>(*this). More... | |
| template (typename D=iota_view< int, To >)() const expr auto end() const -> detail::facade_sentinel_t< D const > | |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. | |
Public Member Functions inherited from ranges::view_interface< iota_view< int, To >, Cardinality > | |
| view_interface (view_interface &&)=default | |
| view_interface (view_interface const &)=default | |
| view_interface & | operator= (view_interface &&)=default |
| view_interface & | operator= (view_interface const &)=default |
| CPP_member constexpr auto | empty () const noexcept -> CPP_ret(bool)() |
| Test whether a range can be empty: | |
Protected Types inherited from ranges::view_interface< iota_view< int, To >, Cardinality > | |
| using | D = meta::invoke< detail::dependent_< B >, iota_view< int, To > > |
Protected Member Functions inherited from ranges::view_facade< iota_view< int, To >, same_as< To, unreachable_sentinel_t > ? infinite :std::is_integral< int >::value &&std::is_integral< To >::value ? finite :unknown > | |
| constexpr view_as_cursor | begin_cursor () const |
| constexpr default_sentinel_t | end_cursor () const |
Protected Member Functions inherited from ranges::view_interface< iota_view< int, To >, Cardinality > | |
| constexpr iota_view< int, To > & | derived () noexcept |
| constexpr iota_view< int, To > const & | derived () const noexcept |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. | |
Protected Attributes inherited from ranges::view_facade< iota_view< int, To >, same_as< To, unreachable_sentinel_t > ? infinite :std::is_integral< int >::value &&std::is_integral< To >::value ? finite :unknown > | |
| friend | range_access |
The ints view returns a range of monotonically increasing ints.
lower_bound
upper_bound
lower_bound is specifiedlower_bound, use ranges::unreachable as the upper_boundoutput_range
upper_bound is not specified, the range is quasi-infinite