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

Method StringRef

unittests/catch.hpp:9653–9655  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9651
9652namespace Catch {
9653 StringRef::StringRef( char const* rawChars ) noexcept
9654 : StringRef( rawChars, static_cast<StringRef::size_type>(std::strlen(rawChars) ) )
9655 {}
9656
9657 StringRef::operator std::string() const {
9658 return std::string( m_start, m_size );

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected