VCCC  2024.05
VisualCamp Common C++ library
iota_view< W, Bound > Class Template Reference

#include </home/jarvis/actions-runner/jarvis-vccc-2/_work/vccc/vccc/include/vccc/__ranges/views/iota_view.hpp>

+ Inheritance diagram for iota_view< W, Bound >:

Classes

class  iterator
 
class  sentinel
 

Public Member Functions

template<typename Dummy = void, std::enable_if_t< conjunction< std::is_void< Dummy >, default_initializable< W > >::value, int > = 0>
constexpr iota_view ()
 
constexpr iota_view (W value)
 
constexpr iota_view (type_identity_t< W > value, type_identity_t< Bound > bound)
 
constexpr iota_view (iterator first, typename detail::iv_ctor_iterator_last< W, Bound, iota_view >::type last)
 
constexpr iterator begin () const
 
template<typename Dummy = void, std::enable_if_t< conjunction< std::is_void< Dummy >, negation< same_as< W, Bound >> >::value, int > = 0>
constexpr sentinel end () const
 
template<typename Dummy = void, std::enable_if_t< conjunction< std::is_void< Dummy >, same_as< W, Bound > >::value, int > = 0>
constexpr iterator end () const
 
constexpr bool empty () const
 
template<typename Dummy = void, std::enable_if_t< conjunction< std::is_void< Dummy >, disjunction< conjunction< same_as< W, Bound >, detail::iv_advanceable< W >>, conjunction< is_integer_like< W >, is_integer_like< Bound >>, sized_sentinel_for< Bound, W > > >::value, int > = 0>
constexpr auto size () const
 
- Public Member Functions inherited from view_interface< iota_view< W, unreachable_sentinel_t > >
constexpr bool empty ()
 
constexpr bool empty ()
 
constexpr bool empty () const
 
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 data ()
 
constexpr auto data () const
 
constexpr auto size ()
 
constexpr auto size () const
 
constexpr decltype(auto) front ()
 
constexpr decltype(auto) front () const
 
constexpr decltype(auto) back ()
 
constexpr decltype(auto) back () const
 
constexpr decltype(auto) operator[] (range_difference_t< R > n)
 
constexpr decltype(auto) operator[] (range_difference_t< R > n) const
 

Additional Inherited Members

- Public Types inherited from view_interface< iota_view< W, unreachable_sentinel_t > >
using $vccc_derived = iota_view< W, unreachable_sentinel_t >
 

Constructor & Destructor Documentation

◆ iota_view() [1/4]

constexpr iota_view ( )
inlineconstexpr

◆ iota_view() [2/4]

constexpr iota_view ( value)
inlineexplicitconstexpr

◆ iota_view() [3/4]

constexpr iota_view ( type_identity_t< W >  value,
type_identity_t< Bound >  bound 
)
inlineexplicitconstexpr

◆ iota_view() [4/4]

constexpr iota_view ( iterator  first,
typename detail::iv_ctor_iterator_last< W, Bound, iota_view< W, Bound > >::type  last 
)
inlineexplicitconstexpr

Member Function Documentation

◆ begin()

constexpr iterator begin ( ) const
inlineconstexpr

◆ empty()

constexpr bool empty ( ) const
inlineconstexpr

◆ end() [1/2]

constexpr sentinel end ( ) const
inlineconstexpr

◆ end() [2/2]

constexpr iterator end ( ) const
inlineconstexpr

◆ size()

constexpr auto size ( ) const
inlineconstexpr

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