LLVM  13.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]
Collaboration diagram for llvm::pointer_iterator< WrappedIteratorT, T >:
Collaboration graph
[legend]

Public Member Functions

 pointer_iterator ()=default
 
 pointer_iterator (WrappedIteratorT u)
 
T & operator* ()
 
const T & operator* () const
 
- Public Member Functions inherited from llvm::iterator_adaptor_base< pointer_iterator< WrappedIteratorT, decltype(&*std::declval< WrappedIteratorT >()) >, WrappedIteratorT, std::iterator_traits< WrappedIteratorT >::iterator_category, decltype(&*std::declval< WrappedIteratorT >()) >
pointer_iterator< WrappedIteratorT, decltype(&*std::declval< WrappedIteratorT >()) > & operator+= (difference_type n)
 
pointer_iterator< WrappedIteratorT, decltype(&*std::declval< WrappedIteratorT >()) > & operator-= (difference_type n)
 
difference_type operator- (const pointer_iterator< WrappedIteratorT, decltype(&*std::declval< WrappedIteratorT >()) > &RHS) const
 
pointer_iterator< WrappedIteratorT, decltype(&*std::declval< WrappedIteratorT >()) > & operator++ ()
 
pointer_iterator< WrappedIteratorT, decltype(&*std::declval< WrappedIteratorT >()) > & operator-- ()
 
std::conditional_t< std::is_same< decltype(&*::< > WrappedIteratorT, typename std::iterator_traits< WrappedIteratorT >::value_type >::value, typename std::iterator_traits< WrappedIteratorT >::reference, decltype(&*::< > WrappedIteratorT & > operator* () const
 

Additional Inherited Members

- Public Types inherited from llvm::iterator_adaptor_base< pointer_iterator< WrappedIteratorT, decltype(&*std::declval< WrappedIteratorT >()) >, WrappedIteratorT, std::iterator_traits< WrappedIteratorT >::iterator_category, decltype(&*std::declval< WrappedIteratorT >()) >
using difference_type = typename std::iterator_traits< WrappedIteratorT >::difference_type
 
- Protected Member Functions inherited from llvm::iterator_adaptor_base< pointer_iterator< WrappedIteratorT, decltype(&*std::declval< WrappedIteratorT >()) >, WrappedIteratorT, std::iterator_traits< WrappedIteratorT >::iterator_category, decltype(&*std::declval< WrappedIteratorT >()) >
 iterator_adaptor_base ()=default
 
 iterator_adaptor_base (WrappedIteratorT u)
 
const WrappedIteratorTwrapped () const
 
- Protected Attributes inherited from llvm::iterator_adaptor_base< pointer_iterator< WrappedIteratorT, decltype(&*std::declval< WrappedIteratorT >()) >, WrappedIteratorT, std::iterator_traits< WrappedIteratorT >::iterator_category, decltype(&*std::declval< WrappedIteratorT >()) >
WrappedIteratorT I
 

Detailed Description

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

Definition at line 320 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 330 of file iterator.h.

Member Function Documentation

◆ operator*() [1/2]

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

◆ operator*() [2/2]

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

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