#ifndef UTIL_LISTUTIL_HPP_ #define UTIL_LISTUTIL_HPP_ #include #include #include #include namespace util { template bool contains(const std::vector& vec, const T& value) { return std::find(vec.begin(), vec.end(), value) != vec.end(); } std::string to_string(const std::vector& vec); } #endif // UTIL_LISTUTIL_HPP_