Open 3D Engine AzCore API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
AZStd::ranges::iota_view< W, Bound, class > Class Template Reference

Inherits AZStd::ranges::view_interface< iota_view< W, Bound > >.

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 = same_as<W, Bound>, class = enable_if_t<Enable>>
constexpr iota_view (iterator first, iterator last)
 iota_view iterator and sentinel constructor definitions
 
template<bool Enable = same_as<Bound, unreachable_sentinel_t>, class = enable_if_t<Enable>>
constexpr iota_view (iterator first, Bound last)
 
template<bool Enable = !same_as<W, Bound> && !same_as<Bound, unreachable_sentinel_t>, class = enable_if_t<Enable>>
constexpr iota_view (iterator first, sentinel last)
 
constexpr auto begin () const
 
constexpr auto end () const
 
template<bool Enable = (same_as<W, Bound> && Internal::advanceable<W>) || (::AZStd::Internal::is_integer_like<W> && ::AZStd::Internal::is_integer_like<Bound>) || sized_sentinel_for<Bound, W>, class = enable_if_t<Enable>>
constexpr auto size () const
 

Detailed Description

template<class W, class Bound, class>
class AZStd::ranges::iota_view< W, Bound, class >

Generates a sequence of elements by repeating incrementing an initial element W up to Bound

Constructor & Destructor Documentation

◆ iota_view()

template<class W , class Bound , class ViewEnable >
template<bool , class >
constexpr AZStd::ranges::iota_view< W, Bound, ViewEnable >::iota_view ( iterator  first,
iterator  last 
)
constexpr

iota_view iterator and sentinel constructor definitions

iterator and sentinel are not complete types at this point, so these construtors are defined after those types are defined


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