#pragma once #include namespace matcher { template struct any_of_t { std::array options; }; template bool operator==(T const & t, any_of_t const & of) { return std::find(of.options.begin(), of.options.end(), t) != of.options.end(); } template any_of_t::type, sizeof...(Args)> any_of(Args &&... args) { return {{args...}}; } }