MCPcopy Create free account
hub / github.com/RenderKit/oidn / StringRef

Method StringRef

external/catch.hpp:13900–13902  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13898
13899namespace Catch {
13900 StringRef::StringRef( char const* rawChars ) noexcept
13901 : StringRef( rawChars, static_cast<StringRef::size_type>(std::strlen(rawChars) ) )
13902 {}
13903
13904 auto StringRef::c_str() const -> char const* {
13905 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