MCPcopy Create free account
hub / github.com/Profactor/cv-plot / StringRef

Method StringRef

CvPlot/ext/catch2/inc/catch.hpp:13674–13676  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13672
13673namespace Catch {
13674 StringRef::StringRef( char const* rawChars ) noexcept
13675 : StringRef( rawChars, static_cast<StringRef::size_type>(std::strlen(rawChars) ) )
13676 {}
13677
13678 auto StringRef::c_str() const -> char const* {
13679 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