LLVM 20.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 262 of file Sequence.h.

Member Typedef Documentation

◆ const_iterator

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

Definition at line 267 of file Sequence.h.

◆ const_reference

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

Definition at line 265 of file Sequence.h.

◆ const_reverse_iterator

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

Definition at line 269 of file Sequence.h.

◆ difference_type

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

Definition at line 270 of file Sequence.h.

◆ iterator

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

Definition at line 266 of file Sequence.h.

◆ reference

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

Definition at line 264 of file Sequence.h.

◆ reverse_iterator

template<typename T >
using llvm::iota_range< T >::reverse_iterator = detail::SafeIntIterator<value_type, true>

Definition at line 268 of file Sequence.h.

◆ size_type

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

Definition at line 271 of file Sequence.h.

◆ value_type

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

Definition at line 263 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 273 of file Sequence.h.

References assert(), and End.

Member Function Documentation

◆ begin()

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

Definition at line 283 of file Sequence.h.

◆ empty()

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

Definition at line 281 of file Sequence.h.

◆ end()

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

Definition at line 284 of file Sequence.h.

◆ rbegin()

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

Definition at line 286 of file Sequence.h.

◆ rend()

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

Definition at line 287 of file Sequence.h.

◆ size()

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

Definition at line 280 of file Sequence.h.


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