9namespace CppSpec::Matchers {
11template <std::ranges::range A, std::ranges::range E>
12class StartWith :
public MatcherBase<A, E> {
14 StartWith(
Expectation<A>& expectation, E start) : MatcherBase<A, E>(expectation, start) {}
16 std::string verb()
override {
return "start with"; }
18 bool match()
override {
19 A& actual = this->actual();
Wraps the target of an expectation.
Definition expectation.hpp:47
Definition have_error.hpp:9
Contains the base class for all Matchers.