MCPcopy Create free account
hub / github.com/RenderKit/embree / contains

Function contains

tutorials/external/catch.hpp:11392–11394  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11390 return !s.empty() && s[s.size()-1] == suffix;
11391 }
11392 bool contains( std::string const& s, std::string const& infix ) {
11393 return s.find( infix ) != std::string::npos;
11394 }
11395 void toLowerInPlace( std::string& s ) {
11396 std::transform( s.begin(), s.end(), s.begin(), toLowerCh );
11397 }

Callers 2

matchMethod · 0.70
matchesMethod · 0.70

Calls 1

findMethod · 0.45

Tested by

no test coverage detected