Focused crawls are collections of frequently-updated webcrawl data from narrow (as opposed to broad or wide) web crawls, often focused on a single domain or subdomain.
There might also be interest in simple All, Any, None (or maybe AllTrue, etc.) range matchers that are explicitly specialized for ranges of bools, or types convertible to bool. While they can be simply emulated by composing AllMatch with IsTrue generic matcher, having them out of box would likely be convenient for bunch of users.
@horenmar Hello! I would love to contribute here. Where should I implement those methods? And could you tell me more about the new generic matcher support?
The new matchers docs are here. There is a very similar functionality in ContainsElementMatcher, in src/catch2/matchers/catch_matchers_contains.hpp, which takes a Matcher at construction, a generic range* at match time, and returns true if at least one element in the range matches.
This is essentially the AnyMatch implementation done already 😃 The other two should be analoguous.
Looking at it, I will need to check whether it accepts C++20 ranges, which can have different type returned from begin and from end. I think it currently doesn't.
They should take single matcher during construction, and their
matchmethod should take a generic range, using the new generic matcher support.Expected usage:
the matching semantics are hopefully obvious from the names😃
The text was updated successfully, but these errors were encountered: