MCPcopy Create free account
hub / github.com/ChaiScript/ChaiScript / isSubstring

Method isSubstring

unittests/catch.hpp:9679–9681  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9677 return m_data != nullptr;
9678 }
9679 auto StringRef::isSubstring() const noexcept -> bool {
9680 return m_start[m_size] != '\0';
9681 }
9682
9683 void StringRef::takeOwnership() {
9684 if( !isOwned() ) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected