WPILibC++  2019.3.1
wpi::SmallSet< T, N, C > Class Template Reference

SmallSet - This maintains a set of unique values, optimizing for the case when the set is small (less than N). More...

#include <SmallSet.h>

## Detailed Description

### template<typename T, unsigned N, typename C = std::less<T>> 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).

In this case, the set can be maintained with no mallocs. If the set gets large, we expand to using an std::set to maintain reasonable lookup times.

Note that this set does not provide a way to iterate over members in the set.

The documentation for this class was generated from the following file:
• /var/lib/jenkins/workspace/WPILib/WPILib - Release/arm/wpiutil/src/main/native/include/wpi/SmallSet.h