VCCC  2024.05
VisualCamp Common C++ library
enumerate_view< V, Tuple > Class Template Reference

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

+ Inheritance diagram for enumerate_view< V, Tuple >:

Classes

class  iterator
 
class  sentinel
 

Public Member Functions

 enumerate_view ()=default
 
constexpr enumerate_view (V base)
 
template<typename V2 = V, std::enable_if_t< copy_constructible< V2 >::value, int > = 0>
constexpr V base () const &
 
constexpr V base () &&
 
template<typename V2 = V, std::enable_if_t< simple_view< V2 >::valule==false, int > = 0>
constexpr iterator< false > begin ()
 
template<typename V2 = V, std::enable_if_t< detail::range_with_movable_reference< const V2 >::value, int > = 0>
constexpr iterator< true > begin () const
 
template<typename V2 = V, std::enable_if_t< simple_view< V2 >::value==false, int > = 0>
constexpr auto end ()
 
template<typename V2 = V, std::enable_if_t< detail::range_with_movable_reference< const V2 >::value, int > = 0>
constexpr auto end () const
 
template<typename V2 = V, std::enable_if_t< sized_range< V2 >::value, int > = 0>
constexpr auto size ()
 
template<typename V2 = V, std::enable_if_t< sized_range< const V2 >::value, int > = 0>
constexpr auto size () const
 
- Public Member Functions inherited from view_interface< enumerate_view< V > >
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< enumerate_view< V > >
using $vccc_derived = enumerate_view< V >
 

Constructor & Destructor Documentation

◆ enumerate_view() [1/2]

enumerate_view ( )
default

◆ enumerate_view() [2/2]

constexpr enumerate_view ( base)
inlineexplicitconstexpr

Member Function Documentation

◆ base() [1/2]

constexpr V base ( ) &&
inlineconstexpr

◆ base() [2/2]

constexpr V base ( ) const &
inlineconstexpr

◆ begin() [1/2]

constexpr iterator<false> begin ( )
inlineconstexpr

◆ begin() [2/2]

constexpr iterator<true> begin ( ) const
inlineconstexpr

◆ end() [1/2]

constexpr auto end ( )
inlineconstexpr

◆ end() [2/2]

constexpr auto end ( ) const
inlineconstexpr

◆ size() [1/2]

constexpr auto size ( )
inlineconstexpr

◆ size() [2/2]

constexpr auto size ( ) const
inlineconstexpr

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