class SmallSet
Declaration
template <typename T, unsigned int N, typename C = std::less<T>>
class SmallSet { /* full declaration omitted */ };
Declared at: llvm/include/llvm/ADT/SmallSet.h:134
Templates
- T
- unsigned int N
- C = std::less<T>
Method Overview
- public SmallSet<T, N, C>()
- public llvm::SmallSet::const_iterator begin() const
- public void clear()
- public llvm::SmallSet::size_type count(const T & V) const
- public bool empty() const
- public llvm::SmallSet::const_iterator end() const
- public bool erase(const T & V)
- public std::pair<NoneType, bool> insert(const T & V)
- public template <typename IterT>void insert(IterT I, IterT E)
- public llvm::SmallSet::size_type size() const
Methods
¶SmallSet<T, N, C>()
SmallSet<T, N, C>()
Declared at: llvm/include/llvm/ADT/SmallSet.h:153
¶llvm::SmallSet::const_iterator begin() const
llvm::SmallSet::const_iterator begin() const
Declared at: llvm/include/llvm/ADT/SmallSet.h:223
¶void clear()
void clear()
Declared at: llvm/include/llvm/ADT/SmallSet.h:218
¶llvm::SmallSet::size_type count(const T& V) const
llvm::SmallSet::size_type count(const T& V) const
Description
count - Return 1 if the element is in the set, 0 otherwise.
Declared at: llvm/include/llvm/ADT/SmallSet.h:164
Parameters
- const T& V
¶bool empty() const
bool empty() const
Declared at: llvm/include/llvm/ADT/SmallSet.h:155
¶llvm::SmallSet::const_iterator end() const
llvm::SmallSet::const_iterator end() const
Declared at: llvm/include/llvm/ADT/SmallSet.h:229
¶bool erase(const T& V)
bool erase(const T& V)
Declared at: llvm/include/llvm/ADT/SmallSet.h:207
Parameters
- const T& V
¶std::pair<NoneType, bool> insert(const T& V)
std::pair<NoneType, bool> insert(const T& V)
Declared at: llvm/include/llvm/ADT/SmallSet.h:180
Parameters
- const T& V
¶template <typename IterT>
void insert(IterT I, IterT E)
template <typename IterT>
void insert(IterT I, IterT E)
Declared at: llvm/include/llvm/ADT/SmallSet.h:202
Templates
- IterT
Parameters
- IterT I
- IterT E
¶llvm::SmallSet::size_type size() const
llvm::SmallSet::size_type size() const
Declared at: llvm/include/llvm/ADT/SmallSet.h:159