LLVM 20.0.0git
|
Iterator on all the elements of the vector which have actually being constructed. More...
#include "llvm/ADT/PagedVector.h"
Public Types | |
using | iterator_category = std::forward_iterator_tag |
using | value_type = T |
using | difference_type = std::ptrdiff_t |
using | pointer = T * |
using | reference = T & |
Public Member Functions | |
MaterializedIterator (PagedVector const *PV, size_t ElementIdx) | |
MaterializedIterator & | operator++ () |
Pre-increment operator. | |
MaterializedIterator | operator++ (int) |
T const & | operator* () const |
size_t | getIndex () const |
Friends | |
bool | operator== (const MaterializedIterator &LHS, const MaterializedIterator &RHS) |
Equality operator. | |
bool | operator!= (const MaterializedIterator &LHS, const MaterializedIterator &RHS) |
Iterator on all the elements of the vector which have actually being constructed.
Definition at line 168 of file PagedVector.h.
using llvm::PagedVector< T, PageSize >::MaterializedIterator::difference_type = std::ptrdiff_t |
Definition at line 175 of file PagedVector.h.
using llvm::PagedVector< T, PageSize >::MaterializedIterator::iterator_category = std::forward_iterator_tag |
Definition at line 173 of file PagedVector.h.
using llvm::PagedVector< T, PageSize >::MaterializedIterator::pointer = T * |
Definition at line 176 of file PagedVector.h.
using llvm::PagedVector< T, PageSize >::MaterializedIterator::reference = T & |
Definition at line 177 of file PagedVector.h.
using llvm::PagedVector< T, PageSize >::MaterializedIterator::value_type = T |
Definition at line 174 of file PagedVector.h.
|
inline |
Definition at line 179 of file PagedVector.h.
|
inline |
Definition at line 218 of file PagedVector.h.
|
inline |
Definition at line 205 of file PagedVector.h.
|
inline |
Pre-increment operator.
When incrementing the iterator, we skip the elements which have not been materialized yet.
Definition at line 186 of file PagedVector.h.
|
inline |
Definition at line 199 of file PagedVector.h.
|
friend |
Definition at line 220 of file PagedVector.h.
|
friend |
Equality operator.
Definition at line 213 of file PagedVector.h.