LLVM 20.0.0git
Public Member Functions | List of all members
llvm::detail::indexed_accessor_range_base< DerivedT, BaseT, T, PointerT, ReferenceT >::iterator Class Reference

An iterator element of this range. More...

#include "llvm/ADT/STLExtras.h"

Inheritance diagram for llvm::detail::indexed_accessor_range_base< DerivedT, BaseT, T, PointerT, ReferenceT >::iterator:
Inheritance graph
[legend]

Public Member Functions

ReferenceT operator* () const
 
- Public Member Functions inherited from llvm::indexed_accessor_iterator< iterator, BaseT, T, PointerT, ReferenceT >
ptrdiff_t operator- (const indexed_accessor_iterator &rhs) const
 
bool operator== (const indexed_accessor_iterator &rhs) const
 
bool operator< (const indexed_accessor_iterator &rhs) const
 
iterator & operator+= (ptrdiff_t offset)
 
iterator & operator-= (ptrdiff_t offset)
 
ptrdiff_t getIndex () const
 Returns the current index of the iterator.
 
const BaseT & getBase () const
 Returns the current base of the iterator.
 
- Public Member Functions inherited from llvm::iterator_facade_base< DerivedT, IteratorCategoryT, T, DifferenceTypeT, PointerT, ReferenceT >
DerivedT operator+ (DifferenceTypeT n) const
 
DerivedT operator- (DifferenceTypeT n) const
 
DerivedT & operator++ ()
 
DerivedT operator++ (int)
 
DerivedT & operator-- ()
 
DerivedT operator-- (int)
 
bool operator!= (const DerivedT &RHS) const
 
bool operator> (const DerivedT &RHS) const
 
bool operator<= (const DerivedT &RHS) const
 
bool operator>= (const DerivedT &RHS) const
 
PointerProxy operator-> () const
 
ReferenceProxy operator[] (DifferenceTypeT n) const
 

Additional Inherited Members

- Public Types inherited from llvm::iterator_facade_base< DerivedT, IteratorCategoryT, T, DifferenceTypeT, PointerT, ReferenceT >
using iterator_category = IteratorCategoryT
 
using value_type = T
 
using difference_type = DifferenceTypeT
 
using pointer = PointerT
 
using reference = ReferenceT
 
- Protected Types inherited from llvm::iterator_facade_base< DerivedT, IteratorCategoryT, T, DifferenceTypeT, PointerT, ReferenceT >
enum  { IsRandomAccess , IsBidirectional }
 
- Protected Member Functions inherited from llvm::indexed_accessor_iterator< iterator, BaseT, T, PointerT, ReferenceT >
 indexed_accessor_iterator (BaseT base, ptrdiff_t index)
 
- Protected Attributes inherited from llvm::indexed_accessor_iterator< iterator, BaseT, T, PointerT, ReferenceT >
BaseT base
 
ptrdiff_t index
 

Detailed Description

template<typename DerivedT, typename BaseT, typename T, typename PointerT = T *, typename ReferenceT = T &>
class llvm::detail::indexed_accessor_range_base< DerivedT, BaseT, T, PointerT, ReferenceT >::iterator

An iterator element of this range.

Definition at line 1261 of file STLExtras.h.

Member Function Documentation

◆ operator*()

template<typename DerivedT , typename BaseT , typename T , typename PointerT = T *, typename ReferenceT = T &>
ReferenceT llvm::detail::indexed_accessor_range_base< DerivedT, BaseT, T, PointerT, ReferenceT >::iterator::operator* ( ) const
inline

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