#ifndef SEARCH_H #define SEARCH_H #include "Exceptions.h" #include "TemplatedArray.h" #include "Comparator.h" // returns FIRST array location matching the given item (based on the comparator) template long long binarySearch(const T& item, const TemplatedArray& array, const Comparator& comparator) { // Implementation goes here } #endif