| 1985 | |
| 1986 | template<typename TNamedElement, typename TElementName> |
| 1987 | static bool IsSubsetEquals(const std::vector<const TNamedElement *> &vpLeft, const std::set<TElementName> &Right) |
| 1988 | { |
| 1989 | return vpLeft.size() <= Right.size() && std::all_of(vpLeft.begin(), vpLeft.end(), [&](const TNamedElement *pElem) { |
| 1990 | return Right.contains(TElementName(pElem->Name())); |
| 1991 | }); |
| 1992 | } |
| 1993 | |
| 1994 | void CExcludedCommunityFilterList::Add(const char *pCommunityId) |
| 1995 | { |