MCPcopy Create free account
hub / github.com/Predelnik/DSpellCheck / StringRef

Method StringRef

deps/Catch/catch.hpp:13812–13814  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13810
13811namespace Catch {
13812 StringRef::StringRef( char const* rawChars ) noexcept
13813 : StringRef( rawChars, static_cast<StringRef::size_type>(std::strlen(rawChars) ) )
13814 {}
13815
13816 auto StringRef::c_str() const -> char const* {
13817 CATCH_ENFORCE(isNullTerminated(), "Called StringRef::c_str() on a non-null-terminated instance");

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected