Template Function cras::isSetIntersectionEmpty
Defined in File set_utils.hpp
Function Documentation
-
template<typename T>
bool cras::isSetIntersectionEmpty(const ::std::set<T> &set1, const ::std::set<T> &set2) Test whether the two given sets have empty intersection.
- Template Parameters:
T – Type of the elements in the sets.
- Parameters:
set1 – [in] First set to test.
set2 – [in] Second set to test.
- Returns:
Whether the intersection of set1 and set2 is empty.