19 std::vector<std::string> included_prefixes,
20 std::vector<std::string> excluded_prefixes)
21 : included_prefixes(std::move(included_prefixes)),
22 excluded_prefixes(std::move(excluded_prefixes))
31 const bool matches_included = std::any_of(
34 [value](
const std::string &prefix) { return has_prefix(value, prefix); });
40 const bool matches_excluded = std::any_of(
43 [value](
const std::string &prefix) { return has_prefix(value, prefix); });
44 return !matches_excluded;