MCPcopy Create free account
hub / github.com/bblanchon/ArduinoJson / StringRef

Method StringRef

extras/tests/catch/catch.hpp:13913–13915  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13911
13912namespace Catch {
13913 StringRef::StringRef( char const* rawChars ) noexcept
13914 : StringRef( rawChars, static_cast<StringRef::size_type>(std::strlen(rawChars) ) )
13915 {}
13916
13917 auto StringRef::c_str() const -> char const* {
13918 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