LLVM 20.0.0git
Public Member Functions | List of all members
llvm::pointer_iterator< WrappedIteratorT, T > Class Template Reference

#include "llvm/ADT/iterator.h"

Inheritance diagram for llvm::pointer_iterator< WrappedIteratorT, T >:
Inheritance graph
[legend]

Public Member Functions

 pointer_iterator ()=default
 
 pointer_iterator (WrappedIteratorT u)
 
Toperator* () const
 
- Public Member Functions inherited from llvm::iterator_adaptor_base< DerivedT, WrappedIteratorT, IteratorCategoryT, T, DifferenceTypeT, PointerT, ReferenceT >
DerivedT & operator+= (difference_type n)
 
DerivedT & operator-= (difference_type n)
 
difference_type operator- (const DerivedT &RHS) const
 
DerivedT & operator++ ()
 
DerivedT & operator-- ()
 
ReferenceT operator* () const
 
- 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_adaptor_base< DerivedT, WrappedIteratorT, IteratorCategoryT, T, DifferenceTypeT, PointerT, ReferenceT >
using difference_type = DifferenceTypeT
 
- 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::iterator_adaptor_base< DerivedT, WrappedIteratorT, IteratorCategoryT, T, DifferenceTypeT, PointerT, ReferenceT >
 iterator_adaptor_base ()=default
 
 iterator_adaptor_base (WrappedIteratorT u)
 
const WrappedIteratorTwrapped () const
 
- Protected Attributes inherited from llvm::iterator_adaptor_base< DerivedT, WrappedIteratorT, IteratorCategoryT, T, DifferenceTypeT, PointerT, ReferenceT >
WrappedIteratorT I
 

Detailed Description

template<typename WrappedIteratorT, typename T = decltype(&*std::declval<WrappedIteratorT>())>
class llvm::pointer_iterator< WrappedIteratorT, T >

Definition at line 344 of file iterator.h.

Constructor & Destructor Documentation

◆ pointer_iterator() [1/2]

template<typename WrappedIteratorT , typename T = decltype(&*std::declval<WrappedIteratorT>())>
llvm::pointer_iterator< WrappedIteratorT, T >::pointer_iterator ( )
default

◆ pointer_iterator() [2/2]

template<typename WrappedIteratorT , typename T = decltype(&*std::declval<WrappedIteratorT>())>
llvm::pointer_iterator< WrappedIteratorT, T >::pointer_iterator ( WrappedIteratorT  u)
inlineexplicit

Definition at line 354 of file iterator.h.

Member Function Documentation

◆ operator*()

template<typename WrappedIteratorT , typename T = decltype(&*std::declval<WrappedIteratorT>())>
T & llvm::pointer_iterator< WrappedIteratorT, T >::operator* ( ) const
inline

Definition at line 357 of file iterator.h.

References I, and Ptr.


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