OpenKalman
Classes | Public Member Functions | List of all members
OpenKalman::ranges::iota_view< W, Bound > Struct Template Reference

Equivalent to std::ranges::iota_view. More...

#include <iota.hpp>

Inheritance diagram for OpenKalman::ranges::iota_view< W, Bound >:
Inheritance graph
[legend]
Collaboration diagram for OpenKalman::ranges::iota_view< W, Bound >:
Collaboration graph
[legend]

Classes

struct  iterator
 
struct  sentinel
 

Public Member Functions

constexpr iota_view (W value)
 
constexpr iota_view (type_identity_t< W > value, type_identity_t< Bound > bound)
 
template<bool Enable = true, std::enable_if_t< Enable and std::is_same_v< Bound, W >, int > = 0>
constexpr iota_view (iterator first, iterator last)
 
template<bool Enable = true, std::enable_if_t< Enable and std::is_same_v< Bound, unreachable_sentinel_t >, int > = 0>
constexpr iota_view (iterator first, Bound last)
 
template<bool Enable = true, std::enable_if_t< Enable and not std::is_same_v< Bound, W > and not std::is_same_v< Bound, unreachable_sentinel_t >, int > = 0>
constexpr iota_view (iterator first, sentinel last)
 
constexpr iterator begin () const
 
constexpr auto end () const
 
template<bool Enable = true, std::enable_if_t< Enable and std::is_same_v< W, Bound >, int > = 0>
constexpr iterator end () const
 
constexpr auto empty () const
 
template<bool Enable = true, std::enable_if_t< Enable and not std::is_same_v< Bound, unreachable_sentinel_t > and((std::is_same_v< W, Bound > and advanceable< W >) or(OpenKalman::internal::is_integer_like< W > and OpenKalman::internal::is_integer_like< Bound >) or sized_sentinel_for< Bound, W >), int > = 0>
constexpr auto size () const
 
- Public Member Functions inherited from OpenKalman::ranges::view_interface< iota_view< W, Bound > >
constexpr bool empty ()
 
constexpr bool empty () const
 
constexpr auto cbegin ()
 
constexpr auto cbegin () const
 
constexpr auto cend ()
 
constexpr auto cend () const
 
constexpr operator bool ()
 
constexpr operator bool () const
 
constexpr auto size ()
 
constexpr auto size () const
 
decltype(auto) constexpr front ()
 
decltype(auto) constexpr front () const
 
decltype(auto) constexpr back ()
 
decltype(auto) constexpr back () const
 
decltype(auto) constexpr operator[] (range_difference_t< D > n)
 
decltype(auto) constexpr operator[] (range_difference_t< D > n) const
 

Detailed Description

template<typename W, typename Bound = unreachable_sentinel_t>
struct OpenKalman::ranges::iota_view< W, Bound >

Equivalent to std::ranges::iota_view.


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