15 #ifndef HEXT_BEGINS_WITH_TEST_H_INCLUDED
16 #define HEXT_BEGINS_WITH_TEST_H_INCLUDED
42 :
public Cloneable<BeginsWithTest, ValueTest>
54 bool test(
const char * subject)
const override;
Defines template hext::Cloneable.
Declares hext::ValueTest.
Defines HEXT_PUBLIC and HEXT_PRIVATE.
Tests whether a string begins with a given literal.
BeginsWithTest(std::string literal) noexcept
Constructs a BeginsWithTest that succeeds for subjects that begin with the given literal.
bool test(const char *subject) const override
Return true if subject begins with the given literal.
Curiously recurring template pattern that extends a base class to provide a virtual method Cloneable:...