WPILibC++ 2024.3.2
SmallSet.h File Reference

This file defines the SmallSet class. More...

#include "wpi/SmallPtrSet.h"
#include "wpi/SmallVector.h"
#include "wpi/iterator.h"
#include "wpi/Compiler.h"
#include "wpi/type_traits.h"
#include <cstddef>
#include <functional>
#include <optional>
#include <set>
#include <type_traits>
#include <utility>

Go to the source code of this file.

Classes

class  wpi::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::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::SmallSet< PointeeType *, N >
 If this set is of pointer values, transparently switch over to using SmallPtrSet for performance. More...
 

Namespaces

namespace  wpi
 

Functions

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

Detailed Description

This file defines the SmallSet class.