LLVM  14.0.0git
Public Types | Public Member Functions | List of all members
llvm::iota_range< T > Struct Template Reference

#include "llvm/ADT/Sequence.h"

Public Types

using value_type = T
 
using reference = T &
 
using const_reference = const T &
 
using iterator = detail::SafeIntIterator< value_type, false >
 
using const_iterator = iterator
 
using reverse_iterator = detail::SafeIntIterator< value_type, true >
 
using const_reverse_iterator = reverse_iterator
 
using difference_type = intmax_t
 
using size_type = std::size_t
 

Public Member Functions

 iota_range (T Begin, T End, bool Inclusive)
 
size_t size () const
 
bool empty () const
 
auto begin () const
 
auto end () const
 
auto rbegin () const
 
auto rend () const
 

Detailed Description

template<typename T>
struct llvm::iota_range< T >

Definition at line 200 of file Sequence.h.

Member Typedef Documentation

◆ const_iterator

template<typename T >
using llvm::iota_range< T >::const_iterator = iterator

Definition at line 205 of file Sequence.h.

◆ const_reference

template<typename T >
using llvm::iota_range< T >::const_reference = const T &

Definition at line 203 of file Sequence.h.

◆ const_reverse_iterator

template<typename T >
using llvm::iota_range< T >::const_reverse_iterator = reverse_iterator

Definition at line 207 of file Sequence.h.

◆ difference_type

template<typename T >
using llvm::iota_range< T >::difference_type = intmax_t

Definition at line 208 of file Sequence.h.

◆ iterator

template<typename T >
using llvm::iota_range< T >::iterator = detail::SafeIntIterator<value_type, false>

Definition at line 204 of file Sequence.h.

◆ reference

template<typename T >
using llvm::iota_range< T >::reference = T &

Definition at line 202 of file Sequence.h.

◆ reverse_iterator

Definition at line 206 of file Sequence.h.

◆ size_type

template<typename T >
using llvm::iota_range< T >::size_type = std::size_t

Definition at line 209 of file Sequence.h.

◆ value_type

template<typename T >
using llvm::iota_range< T >::value_type = T

Definition at line 201 of file Sequence.h.

Constructor & Destructor Documentation

◆ iota_range()

template<typename T >
llvm::iota_range< T >::iota_range ( T  Begin,
T  End,
bool  Inclusive 
)
inlineexplicit

Definition at line 211 of file Sequence.h.

Member Function Documentation

◆ begin()

template<typename T >
auto llvm::iota_range< T >::begin ( ) const
inline

Definition at line 221 of file Sequence.h.

◆ empty()

template<typename T >
bool llvm::iota_range< T >::empty ( ) const
inline

Definition at line 219 of file Sequence.h.

◆ end()

template<typename T >
auto llvm::iota_range< T >::end ( ) const
inline

Definition at line 222 of file Sequence.h.

◆ rbegin()

template<typename T >
auto llvm::iota_range< T >::rbegin ( ) const
inline

Definition at line 224 of file Sequence.h.

◆ rend()

template<typename T >
auto llvm::iota_range< T >::rend ( ) const
inline

Definition at line 225 of file Sequence.h.

◆ size()

template<typename T >
size_t llvm::iota_range< T >::size ( ) const
inline

Definition at line 218 of file Sequence.h.


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