Random‐access iterator over switch cases.
Synopsis
Declared in <llvm/IR/Instructions.h>
template<typename CaseHandleT>
class CaseIteratorImpl
: public iterator_facade_base<CaseIteratorImpl<CaseHandleT>, std::random_access_iterator_tag, CaseHandleT 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 |
Return the case handle for the current iterator position. |
|
Advance the iterator by |
|
Increment operators |
|
Advance this iterator by |
|
Subtraction operators |
|
Decrement operators |
|
Move this iterator back by |
|
Return a proxy pointer to the current element. |
|
Return a proxy to the element at offset |
|
Convert to the const case iterator type. |
|
Return true if this iterator refers to the same case as |
|
Return true if this iterator precedes |
|
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 |
Static Member Functions
Name |
Description |
Initialize an iterator from successor index |
Protected Types
Name |
Description |
Proxy that yields a pointer from a copied reference. |
|
Proxy that yields a reference from a copied iterator. |
Non-Member Functions
Name |
Description |
Return an iterator |
Created with MrDocs