WPILibC++ 2024.3.2
wpi::pointer_iterator< WrappedIteratorT, T > Class Template Reference

#include </home/runner/work/allwpilib/allwpilib/wpiutil/src/main/native/thirdparty/llvm/include/wpi/iterator.h>

Inheritance diagram for wpi::pointer_iterator< WrappedIteratorT, T >:
wpi::iterator_adaptor_base< pointer_iterator< WrappedIteratorT, decltype(&*std::declval< WrappedIteratorT >()) >, WrappedIteratorT, std::iterator_traits< WrappedIteratorT >::iterator_category, decltype(&*std::declval< WrappedIteratorT >()) >

Public Member Functions

 pointer_iterator ()=default
 
 pointer_iterator (WrappedIteratorT u)
 
T & operator* () const
 
- Public Member Functions inherited from wpi::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 wpi::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 wpi::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 WrappedIteratorT & wrapped () const
 
- Protected Attributes inherited from wpi::iterator_adaptor_base< pointer_iterator< WrappedIteratorT, decltype(&*std::declval< WrappedIteratorT >()) >, WrappedIteratorT, std::iterator_traits< WrappedIteratorT >::iterator_category, decltype(&*std::declval< WrappedIteratorT >()) >
WrappedIteratorT I
 

Constructor & Destructor Documentation

◆ pointer_iterator() [1/2]

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

◆ pointer_iterator() [2/2]

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

Member Function Documentation

◆ operator*()

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

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