// // any_of.h // string-utils // // Created by Sam Jaffe on 2/13/21. // Copyright © 2021 Sam Jaffe. All rights reserved. // #pragma once #include namespace string_utils { bool any_of(std::string const &) { return false; } template bool any_of(std::string const &value, T && in, Ts &&...rest) { return value == std::forward(in) || any_of(value, std::forward(rest)...); } }