|
| SmallPtrSetImpl (const SmallPtrSetImpl &)=delete |
|
std::pair< iterator, bool > | insert (PtrType Ptr) |
| Inserts Ptr if and only if there is no element in the container equal to Ptr. More...
|
|
bool | erase (PtrType Ptr) |
| erase - If the set contains the specified pointer, remove it and return true, otherwise return false. More...
|
|
size_type | count (ConstPtrType Ptr) const |
| count - Return 1 if the specified pointer is in the set, 0 otherwise.
|
|
iterator | find (ConstPtrType Ptr) const |
|
template<typename IterT > |
void | insert (IterT I, IterT E) |
|
void | insert (std::initializer_list< PtrType > IL) |
|
iterator | begin () const |
|
iterator | end () const |
|
SmallPtrSetImplBase & | operator= (const SmallPtrSetImplBase &)=delete |
|
LLVM_NODISCARD bool | empty () const |
|
size_type | size () const |
|
void | clear () |
|
|
| SmallPtrSetImpl (const void **SmallStorage, const SmallPtrSetImpl &that) |
|
| SmallPtrSetImpl (const void **SmallStorage, unsigned SmallSize, SmallPtrSetImpl &&that) |
|
| SmallPtrSetImpl (const void **SmallStorage, unsigned SmallSize) |
|
| SmallPtrSetImplBase (const void **SmallStorage, const SmallPtrSetImplBase &that) |
|
| SmallPtrSetImplBase (const void **SmallStorage, unsigned SmallSize, SmallPtrSetImplBase &&that) |
|
| SmallPtrSetImplBase (const void **SmallStorage, unsigned SmallSize) |
|
const void ** | EndPointer () const |
|
std::pair< const void *const *, bool > | insert_imp (const void *Ptr) |
| insert_imp - This returns true if the pointer was new to the set, false if it was already in the set. More...
|
|
bool | erase_imp (const void *Ptr) |
| erase_imp - If the set contains the specified pointer, remove it and return true, otherwise return false. More...
|
|
const void *const * | find_imp (const void *Ptr) const |
| Returns the raw pointer needed to construct an iterator. More...
|
|
void | swap (SmallPtrSetImplBase &RHS) |
| swap - Swaps the elements of two sets. More...
|
|
void | CopyFrom (const SmallPtrSetImplBase &RHS) |
|
void | MoveFrom (unsigned SmallSize, SmallPtrSetImplBase &&RHS) |
|
template<typename PtrType>
class wpi::SmallPtrSetImpl< PtrType >
A templated base class for SmallPtrSet
which provides the typesafe interface that is common across all small sizes.
This is particularly useful for passing around between interface boundaries to avoid encoding a particular small size in the interface boundary.