SmallSetIterator ‐ This class implements a const_iterator for SmallSet by delegating to the underlying SmallVector or Set iterators.
Synopsis
Declared in <llvm/ADT/SmallSet.h>
template<
typename T,
unsigned int N,
typename C>
class SmallSetIterator
: public iterator_facade_base<SmallSetIterator<T, N, C>, std::forward_iterator_tag, T, std::ptrdiff_t, T const*, T const&>
Base Classes
Name |
Description |
CRTP base class which implements the entire standard iterator facade in terms of a minimal subset of the interface. |
Type Aliases
Name |
Description |
Signed type used to express the distance between iterators. |
|
Iterator category tag for this facade. |
|
Pointer type returned by the iterator. |
|
Reference type returned by the iterator. |
|
Value type produced by the iterator. |
Enums
Name |
Description |
Capability flags for the iterator category. |
Member Functions
Name |
Description |
|
Constructors |
|
Destroy the active underlying iterator. |
Assignment operators |
|
Return a const reference to the current element. |
|
Advance the iterator by |
|
Increment operators |
|
Retreat the iterator by |
|
Decrement operators |
|
Return a proxy pointer to the current element. |
|
Return a proxy to the element at offset |
|
Return true if both iterators refer to the same element. |
|
Return true if this iterator is less than or equal to |
|
Return true if this iterator is greater than |
|
Return true if this iterator is greater than or equal to |
Data Members
Protected Types
Name |
Description |
Proxy that yields a pointer from a copied reference. |
|
Proxy that yields a reference from a copied iterator. |
Created with MrDocs