MySQL 9.1.0
Source Code Documentation
stdx::ranges::enumerate_view< V > Class Template Reference

enumerate_view over a range. More...

#include <ranges.h>

Classes

class  iterator
 

Public Types

using value_type = stdx::iter_value_t< iterator< true > >
 

Public Member Functions

constexpr enumerate_view ()=default
 
constexpr enumerate_view (V base)
 
constexpr auto begin () const
 
constexpr auto end () const
 

Private Types

using Base = V
 

Private Attributes

Base base_ = {}
 

Detailed Description

template<class V>
class stdx::ranges::enumerate_view< V >

enumerate_view over a range.

Note
only implements the const-iterator parts.
Template Parameters
Va range to enumerate

Member Typedef Documentation

◆ Base

template<class V >
using stdx::ranges::enumerate_view< V >::Base = V
private

◆ value_type

template<class V >
using stdx::ranges::enumerate_view< V >::value_type = stdx::iter_value_t<iterator<true> >

Constructor & Destructor Documentation

◆ enumerate_view() [1/2]

template<class V >
constexpr stdx::ranges::enumerate_view< V >::enumerate_view ( )
constexprdefault

◆ enumerate_view() [2/2]

template<class V >
constexpr stdx::ranges::enumerate_view< V >::enumerate_view ( base)
inlineconstexpr

Member Function Documentation

◆ begin()

template<class V >
constexpr auto stdx::ranges::enumerate_view< V >::begin ( ) const
inlineconstexpr

◆ end()

template<class V >
constexpr auto stdx::ranges::enumerate_view< V >::end ( ) const
inlineconstexpr

Member Data Documentation

◆ base_

template<class V >
Base stdx::ranges::enumerate_view< V >::base_ = {}
private

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