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

Method isOwned

unittests/catch.hpp:9676–9678  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9674 }
9675
9676 auto StringRef::isOwned() const noexcept -> bool {
9677 return m_data != nullptr;
9678 }
9679 auto StringRef::isSubstring() const noexcept -> bool {
9680 return m_start[m_size] != '\0';
9681 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected