Horizon
Loading...
Searching...
No Matches
Public Member Functions | List of all members
ranges::views::indices_fn Struct Reference

Half-open range of indices: [from, to). More...

#include <indices.hpp>

Inheritance diagram for ranges::views::indices_fn:
ranges::iota_view< std::size_t > ranges::view_facade< Derived, Cardinality > ranges::view_interface< Derived, Cardinality > ranges::basic_view< Cardinality > ranges::view_base

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
 
- Public Member Functions inherited from ranges::iota_view< std::size_t >
constexpr iota_view (std::size_t from)
 
constexpr iota_view (meta::id_t< std::size_t > from, meta::id_t< To > to)
 
- Public Member Functions inherited from ranges::view_facade< Derived, Cardinality >
 template (typename D=Derived)() const expr auto begin() -> detail::facade_iterator_t< D >
 Let d be static_cast<Derived &>(*this).
 
 template (typename D=Derived)() 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=Derived)() const expr auto end() -> detail::facade_sentinel_t< D >
 Let d be static_cast<Derived &>(*this).
 
 template (typename D=Derived)() 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< Derived, Cardinality >
 view_interface (view_interface &&)=default
 
 view_interface (view_interface const &)=default
 
view_interfaceoperator= (view_interface &&)=default
 
view_interfaceoperator= (view_interface const &)=default
 
CPP_member constexpr auto empty () const noexcept -> CPP_ret(bool)()
 Test whether a range can be empty:
 

Additional Inherited Members

- Protected Types inherited from ranges::view_interface< Derived, Cardinality >
template<bool B>
using D = meta::invoke< detail::dependent_< B >, Derived >
 
- Protected Member Functions inherited from ranges::view_facade< Derived, Cardinality >
constexpr view_as_cursor begin_cursor () const
 
constexpr default_sentinel_t end_cursor () const
 
- Protected Member Functions inherited from ranges::view_interface< Derived, Cardinality >
constexpr Derived & derived () noexcept
 
constexpr Derived 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< Derived, Cardinality >
friend range_access
 

Detailed Description

Half-open range of indices: [from, to).


The documentation for this struct was generated from the following file: