LLVM  14.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]
Collaboration diagram for llvm::detail::indexed_accessor_range_base< DerivedT, BaseT, T, PointerT, ReferenceT >::iterator:
Collaboration 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. More...
 
const BaseT & getBase () const
 Returns the current base of the iterator. More...
 
- Public Member Functions inherited from llvm::iterator_facade_base< iterator, std::random_access_iterator_tag, T, std::ptrdiff_t, PointerT, ReferenceT >
iterator operator+ (std::ptrdiff_t n) const
 
iterator operator- (std::ptrdiff_t n) const
 
iterator & operator++ ()
 
iterator operator++ (int)
 
iterator & operator-- ()
 
iterator operator-- (int)
 
bool operator!= (const iterator &RHS) const
 
bool operator> (const iterator &RHS) const
 
bool operator<= (const iterator &RHS) const
 
bool operator>= (const iterator &RHS) const
 
PointerProxy operator-> () const
 
ReferenceProxy operator[] (std::ptrdiff_t n) const
 

Additional Inherited Members

- Public Types inherited from llvm::iterator_facade_base< iterator, std::random_access_iterator_tag, T, std::ptrdiff_t, PointerT, ReferenceT >
using iterator_category = std::random_access_iterator_tag
 
using value_type = T
 
using difference_type = std::ptrdiff_t
 
using pointer = PointerT
 
using reference = ReferenceT
 
- Protected Types inherited from llvm::iterator_facade_base< iterator, std::random_access_iterator_tag, T, std::ptrdiff_t, PointerT, ReferenceT >
enum  
 
- 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 1128 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: