LLVM 19.0.0git
Public Member Functions | Friends | List of all members
llvm::detail::index_iterator Struct Reference

#include "llvm/ADT/STLExtras.h"

Inheritance diagram for llvm::detail::index_iterator:
Inheritance graph
[legend]

Public Member Functions

 index_iterator (std::size_t Index)
 
index_iteratoroperator+= (std::ptrdiff_t N)
 
index_iteratoroperator-= (std::ptrdiff_t N)
 
std::ptrdiff_t operator- (const index_iterator &R) const
 
std::size_t operator* () const
 
- Public Member Functions inherited from llvm::iterator_facade_base< index_iterator, std::random_access_iterator_tag, std::size_t >
index_iterator operator+ (std::ptrdiff_t n) const
 
index_iterator operator- (std::ptrdiff_t n) const
 
index_iterator & operator++ ()
 
index_iterator operator++ (int)
 
index_iterator & operator-- ()
 
index_iterator operator-- (int)
 
bool operator!= (const index_iterator &RHS) const
 
bool operator> (const index_iterator &RHS) const
 
bool operator<= (const index_iterator &RHS) const
 
bool operator>= (const index_iterator &RHS) const
 
PointerProxy operator-> () const
 
ReferenceProxy operator[] (std::ptrdiff_t n) const
 

Friends

bool operator== (const index_iterator &Lhs, const index_iterator &Rhs)
 
bool operator< (const index_iterator &Lhs, const index_iterator &Rhs)
 

Additional Inherited Members

- Public Types inherited from llvm::iterator_facade_base< index_iterator, std::random_access_iterator_tag, std::size_t >
using iterator_category = std::random_access_iterator_tag
 
using value_type = std::size_t
 
using difference_type = std::ptrdiff_t
 
using pointer = std::size_t *
 
using reference = std::size_t &
 
- Protected Types inherited from llvm::iterator_facade_base< index_iterator, std::random_access_iterator_tag, std::size_t >
enum  
 

Detailed Description

Definition at line 2308 of file STLExtras.h.

Constructor & Destructor Documentation

◆ index_iterator()

llvm::detail::index_iterator::index_iterator ( std::size_t  Index)
inline

Definition at line 2311 of file STLExtras.h.

Member Function Documentation

◆ operator*()

std::size_t llvm::detail::index_iterator::operator* ( ) const
inline

Definition at line 2332 of file STLExtras.h.

◆ operator+=()

index_iterator & llvm::detail::index_iterator::operator+= ( std::ptrdiff_t  N)
inline

Definition at line 2313 of file STLExtras.h.

References N.

◆ operator-()

std::ptrdiff_t llvm::detail::index_iterator::operator- ( const index_iterator R) const
inline

Definition at line 2323 of file STLExtras.h.

◆ operator-=()

index_iterator & llvm::detail::index_iterator::operator-= ( std::ptrdiff_t  N)
inline

Definition at line 2318 of file STLExtras.h.

References N.

Friends And Related Function Documentation

◆ operator<

bool operator< ( const index_iterator Lhs,
const index_iterator Rhs 
)
friend

Definition at line 2338 of file STLExtras.h.

◆ operator==

bool operator== ( const index_iterator Lhs,
const index_iterator Rhs 
)
friend

Definition at line 2334 of file STLExtras.h.


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