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

Specialization of filter_iterator_base for forward iteration only. More...

#include "llvm/ADT/STLExtras.h"

Inheritance diagram for llvm::filter_iterator_impl< WrappedIteratorT, PredicateT, IterTag >:
Inheritance graph
[legend]

Public Member Functions

 filter_iterator_impl ()=default
 
 filter_iterator_impl (WrappedIteratorT Begin, WrappedIteratorT End, PredicateT Pred)
 
- Public Member Functions inherited from llvm::filter_iterator_base< WrappedIteratorT, PredicateT, IterTag >
filter_iterator_baseoperator++ ()
 
decltype(auto) operator* () const
 
decltype(auto) operator-> () const
 
- Public Member Functions inherited from llvm::iterator_adaptor_base< filter_iterator_base< WrappedIteratorT, PredicateT, IterTag >, WrappedIteratorT, std::common_type_t< IterTag, std::iterator_traits< WrappedIteratorT >::iterator_category > >
filter_iterator_base< WrappedIteratorT, PredicateT, IterTag > & operator+= (difference_type n)
 
filter_iterator_base< WrappedIteratorT, PredicateT, IterTag > & operator-= (difference_type n)
 
difference_type operator- (const filter_iterator_base< WrappedIteratorT, PredicateT, IterTag > &RHS) const
 
filter_iterator_base< WrappedIteratorT, PredicateT, IterTag > & operator++ ()
 
filter_iterator_base< WrappedIteratorT, PredicateT, IterTag > & operator-- ()
 
std::conditional_t< std::is_same< typename std::iterator_traits< WrappedIteratorT >::value_type, typename std::iterator_traits< WrappedIteratorT >::value_type >::value, typename std::iterator_traits< WrappedIteratorT >::reference, typename std::iterator_traits< WrappedIteratorT >::value_type & > 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< filter_iterator_base< WrappedIteratorT, PredicateT, IterTag >, WrappedIteratorT, std::common_type_t< IterTag, std::iterator_traits< WrappedIteratorT >::iterator_category > >
using difference_type = typename std::iterator_traits< WrappedIteratorT >::difference_type
 
- 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::filter_iterator_base< WrappedIteratorT, PredicateT, IterTag >
void findNextValid ()
 
 filter_iterator_base ()=default
 
 filter_iterator_base (WrappedIteratorT Begin, WrappedIteratorT End, PredicateT Pred)
 
- Protected Member Functions inherited from llvm::iterator_adaptor_base< filter_iterator_base< WrappedIteratorT, PredicateT, IterTag >, WrappedIteratorT, std::common_type_t< IterTag, std::iterator_traits< WrappedIteratorT >::iterator_category > >
 iterator_adaptor_base ()=default
 
 iterator_adaptor_base (WrappedIteratorT u)
 
const WrappedIteratorTwrapped () const
 
- Protected Attributes inherited from llvm::filter_iterator_base< WrappedIteratorT, PredicateT, IterTag >
WrappedIteratorT End
 
PredicateT Pred
 
- Protected Attributes inherited from llvm::iterator_adaptor_base< filter_iterator_base< WrappedIteratorT, PredicateT, IterTag >, WrappedIteratorT, std::common_type_t< IterTag, std::iterator_traits< WrappedIteratorT >::iterator_category > >
WrappedIteratorT I
 

Detailed Description

template<typename WrappedIteratorT, typename PredicateT, typename IterTag = std::forward_iterator_tag>
class llvm::filter_iterator_impl< WrappedIteratorT, PredicateT, IterTag >

Specialization of filter_iterator_base for forward iteration only.

Definition at line 497 of file STLExtras.h.

Constructor & Destructor Documentation

◆ filter_iterator_impl() [1/2]

template<typename WrappedIteratorT , typename PredicateT , typename IterTag = std::forward_iterator_tag>
llvm::filter_iterator_impl< WrappedIteratorT, PredicateT, IterTag >::filter_iterator_impl ( )
default

◆ filter_iterator_impl() [2/2]

template<typename WrappedIteratorT , typename PredicateT , typename IterTag = std::forward_iterator_tag>
llvm::filter_iterator_impl< WrappedIteratorT, PredicateT, IterTag >::filter_iterator_impl ( WrappedIteratorT  Begin,
WrappedIteratorT  End,
PredicateT  Pred 
)
inline

Definition at line 502 of file STLExtras.h.


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