Horizon
|
Half-open range of indices: [from, to). More...
#include <indices.hpp>
Public Member Functions | |
template (typename Val)() iota_view< Val | |
Val | operator() (Val to) const |
template (typename Val)() iota_view< Val | |
Val | operator() (Val from, Val to) const |
![]() | |
constexpr | iota_view (std::size_t from) |
constexpr | iota_view (meta::id_t< std::size_t > from, meta::id_t< To > to) |
![]() | |
template (typename D=iota_view< std::size_t, To >)() const expr auto begin() -> detail::facade_iterator_t< D > | |
Let d be static_cast<Derived &>(*this) . More... | |
template (typename D=iota_view< std::size_t, 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< std::size_t, To >)() const expr auto end() -> detail::facade_sentinel_t< D > | |
Let d be static_cast<Derived &>(*this) . More... | |
template (typename D=iota_view< std::size_t, 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. | |
![]() | |
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: | |
Additional Inherited Members | |
![]() | |
using | D = meta::invoke< detail::dependent_< B >, iota_view< std::size_t, To > > |
![]() | |
constexpr view_as_cursor | begin_cursor () const |
constexpr default_sentinel_t | end_cursor () const |
![]() | |
constexpr iota_view< std::size_t, To > & | derived () noexcept |
constexpr iota_view< std::size_t, 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. | |
![]() | |
friend | range_access |
Half-open range of indices: [from, to).