LLVM  14.0.0git
Public Types | Public Member Functions | List of all members
llvm::detail::zip_shortest< Iters > Class Template Reference

#include "llvm/ADT/STLExtras.h"

Inheritance diagram for llvm::detail::zip_shortest< Iters >:
Inheritance graph
[legend]
Collaboration diagram for llvm::detail::zip_shortest< Iters >:
Collaboration graph
[legend]

Public Types

using Base = zip_common< zip_shortest< Iters... >, Iters... >
 
- Public Types inherited from llvm::detail::zip_common< zip_shortest< Iters... >, Iters... >
using Base = zip_traits< zip_shortest< Iters... >, Iters... >
 
using value_type = typename Base::value_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
 

Public Member Functions

 zip_shortest (Iters &&... ts)
 
bool operator== (const zip_shortest< Iters... > &other) const
 
- Public Member Functions inherited from llvm::detail::zip_common< zip_shortest< Iters... >, Iters... >
 zip_common (Iters &&... ts)
 
value_type operator* ()
 
const value_type operator* () const
 
zip_shortest< Iters... > & operator++ ()
 
zip_shortest< Iters... > & operator-- ()
 
bool all_equals (zip_common &other)
 Return true if all the iterator are matching other's iterators. More...
 
- 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-> ()
 
PointerProxy operator-> () const
 
ReferenceProxy operator[] (DifferenceTypeT n)
 
ReferenceProxy operator[] (DifferenceTypeT n) const
 

Additional Inherited Members

- Public Attributes inherited from llvm::detail::zip_common< zip_shortest< Iters... >, Iters... >
std::tuple< Iters... > iterators
 
- Protected Types inherited from llvm::iterator_facade_base< DerivedT, IteratorCategoryT, T, DifferenceTypeT, PointerT, ReferenceT >
enum  { IsRandomAccess, IsBidirectional }
 
- Protected Member Functions inherited from llvm::detail::zip_common< zip_shortest< Iters... >, Iters... >
value_type deref (std::index_sequence< Ns... >) const
 
decltype(iteratorstup_inc (std::index_sequence< Ns... >) const
 
decltype(iteratorstup_dec (std::index_sequence< Ns... >) const
 
bool test_all_equals (const zip_common &other, std::index_sequence< Ns... >) const
 

Detailed Description

template<typename... Iters>
class llvm::detail::zip_shortest< Iters >

Definition at line 684 of file STLExtras.h.

Member Typedef Documentation

◆ Base

template<typename... Iters>
using llvm::detail::zip_shortest< Iters >::Base = zip_common<zip_shortest<Iters...>, Iters...>

Definition at line 694 of file STLExtras.h.

Constructor & Destructor Documentation

◆ zip_shortest()

template<typename... Iters>
llvm::detail::zip_shortest< Iters >::zip_shortest ( Iters &&...  ts)
inline

Definition at line 696 of file STLExtras.h.

Member Function Documentation

◆ operator==()

template<typename... Iters>
bool llvm::detail::zip_shortest< Iters >::operator== ( const zip_shortest< Iters... > &  other) const
inline

Definition at line 698 of file STLExtras.h.


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