WPILibC++ 2027.0.0-alpha-4
Loading...
Searching...
No Matches
SmallSet.hpp File Reference

This file defines the SmallSet class. More...

#include "wpi/util/SmallPtrSet.hpp"
#include "wpi/util/SmallVector.hpp"
#include "wpi/util/iterator.hpp"
#include <cstddef>
#include <functional>
#include <initializer_list>
#include <set>
#include <utility>

Go to the source code of this file.

Classes

class  wpi::util::SmallSetIterator< T, N, C >
 SmallSetIterator - This class implements a const_iterator for SmallSet by delegating to the underlying SmallVector or Set iterators. More...
class  wpi::util::SmallSet< T, N, C >
 SmallSet - This maintains a set of unique values, optimizing for the case when the set is small (less than N). More...
class  wpi::util::SmallSet< PointeeType *, N >
 If this set is of pointer values, transparently switch over to using SmallPtrSet for performance. More...

Namespaces

namespace  wpi
namespace  wpi::util

Functions

template<typename T, unsigned LN, unsigned RN, typename C>
bool wpi::util::operator== (const SmallSet< T, LN, C > &LHS, const SmallSet< T, RN, C > &RHS)
 Equality comparison for SmallSet.
template<typename T, unsigned LN, unsigned RN, typename C>
bool wpi::util::operator!= (const SmallSet< T, LN, C > &LHS, const SmallSet< T, RN, C > &RHS)
 Inequality comparison for SmallSet.

Detailed Description

This file defines the SmallSet class.