MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/TriangleMeshDistance / c_str

Method c_str

tests/catch.hpp:11203–11207  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11201 }
11202
11203 auto StringRef::c_str() const -> char const* {
11204 if( isSubstring() )
11205 const_cast<StringRef*>( this )->takeOwnership();
11206 return m_start;
11207 }
11208 auto StringRef::currentData() const noexcept -> char const* {
11209 return m_start;
11210 }

Callers 5

StringRefMethod · 0.80
registerTestMethodsFunction · 0.80
makeCommandLineParserFunction · 0.80
writeToDebugConsoleFunction · 0.80
FileStreamMethod · 0.80

Calls 1

takeOwnershipMethod · 0.80

Tested by

no test coverage detected