#include <vector>
#include "src/Car.h"
Go to the source code of this file.
◆ DoAnyCarsMatch()
bool DoAnyCarsMatch |
( |
std::vector< const Car * > const & |
a, |
|
|
std::vector< const Car * > const & |
b |
|
) |
| |
checks if any cars in the two vectors provided are the same object
- Parameters
-
a | left operand to compare |
b | right operand to compare |
- Returns
- true if any cars in either vector are the same object