MCPcopy Create free account
hub / github.com/Tablecruncher/tablecruncher / StringContains

Function StringContains

external/utf8-cpp-utils/test/doctest.h:852–852  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

850 public:
851 StringContains(const String& str) : content(str), isContains(false) { }
852 StringContains(Contains cntn) : content(static_cast<Contains&&>(cntn)), isContains(true) { }
853
854 bool check(const String& str) { return isContains ? (content == str) : (content.string == str); }
855

Callers 1

doctest.hFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected