WPILibC++
2018.4.1-20180819050225-1157-gb44f27d
|
SmallSet - This maintains a set of unique values, optimizing for the case when the set is small (less than N). More...
#include <SmallSet.h>
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.