15 #ifndef HEXT_ENDS_WITH_TEST_H_INCLUDED
16 #define HEXT_ENDS_WITH_TEST_H_INCLUDED
53 bool test(
const char * subject)
const override;
Defines template hext::Cloneable.
Declares hext::ValueTest.
Defines HEXT_PUBLIC and HEXT_PRIVATE.
Curiously recurring template pattern that extends a base class to provide a virtual method Cloneable:...
Tests whether a string ends with a given literal.
bool test(const char *subject) const override
Returns true if subject ends with the given literal.
EndsWithTest(std::string literal) noexcept
Constructs an EndsWithTest that succeeds for subjects that end with the given literal.