Drake
sorted_vectors_have_intersection.h File Reference
#include <algorithm>
#include <type_traits>
#include <vector>
#include "drake/common/drake_assert.h"
Include dependency graph for sorted_vectors_have_intersection.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 drake
 

Functions

template<typename T >
bool SortedVectorsHaveIntersection (const std::vector< T > &a, const std::vector< T > &b)
 Checks for the existence of a non-empty intersection between two sorted std::vector's. More...