# adjacent_find **Description :** Binary function which returns first adjacent element pairs based on certain condition (as third argument). Default condition checks equality. **Example** : ```cpp std::vector v{ 1, 2, 3, 4, 4, 3, 7, 8, 9, 10 }; // Binary function which returns first adjacent element pairs based on certain condition (as third argument) . // Default condition checks equality. auto i = std::adjacent_find (v.begin(), v.end()); std::cout << "The first pair of repeated elements are: " << *i <<'\n'; ``` **[Run Code](https://rextester.com/HBWU15163)**