MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / c_str

Method c_str

extlibs/catch/include/catch/catch.hpp:13281–13287  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13279 }
13280
13281 auto StringRef::c_str() const -> char const* {
13282 if( !isSubstring() )
13283 return m_start;
13284
13285 const_cast<StringRef *>( this )->takeOwnership();
13286 return m_data;
13287 }
13288 auto StringRef::currentData() const noexcept -> char const* {
13289 return m_start;
13290 }

Callers 15

getDirectoryListFunction · 0.45
getFileListFunction · 0.45
fileExistsFunction · 0.45
directoryExistsFunction · 0.45
createDirectoryFunction · 0.45
deleteFileFunction · 0.45
drawPolygonFunction · 0.45
loadMethod · 0.45
FromStringMethod · 0.45
UnitVector.cppFile · 0.45
whatMethod · 0.45
openLibMethod · 0.45

Calls 1

takeOwnershipMethod · 0.80

Tested by

no test coverage detected