SmallPtrSetIterator ‐ This implements a const_iterator for SmallPtrSet.

Synopsis

Declared in <llvm/ADT/SmallPtrSet.h>

template<typename PtrTy>
class SmallPtrSetIterator
    : public SmallPtrSetIteratorImpl

Base Classes

Name

Description

SmallPtrSetIteratorImpl

SmallPtrSetIteratorImpl ‐ This is the common base class shared between all instances of SmallPtrSetIterator.

Type Aliases

Name

Description

difference_type

Signed type used to express the distance between iterators.

iterator_category

Iterator category; supports single‐pass forward traversal.

pointer

Pointer type equivalent to the iterator's value type.

reference

Reference type returned by dereferencing the iterator.

value_type

Element type produced when the iterator is dereferenced.

Member Functions

Name

Description

getEpochAddress

Always returns nullptr when ABI‐breaking checks are disabled.

isHandleInSync

Always returns true when ABI‐breaking checks are disabled.

operator*

Return the pointer at the current bucket, converted to PtrTy.

operator++

Increment operators

operator==

Return true if both iterators refer to the same bucket position.

operator!=

Return true if the iterators refer to different bucket positions.

Using Declarations

Name

Description

SmallPtrSetIterator

Inherit constructors from SmallPtrSetIteratorImpl.

Protected Member Functions

Name

Description

dereference

Return the pointer stored in the current bucket.

increment

Advance to the next occupied bucket, skipping empty hash‐table slots.

Created with MrDocs