MCPcopy Create free account
hub / github.com/ChaiScript/ChaiScript / operator ==

Method operator ==

unittests/catch.hpp:6668–6670  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6666 return file[0] == '\0';
6667 }
6668 bool SourceLineInfo::operator == ( SourceLineInfo const& other ) const noexcept {
6669 return line == other.line && (file == other.file || std::strcmp(file, other.file) == 0);
6670 }
6671 bool SourceLineInfo::operator < ( SourceLineInfo const& other ) const noexcept {
6672 return line < other.line || ( line == other.line && (std::strcmp(file, other.file) < 0));
6673 }

Callers

nothing calls this directly

Calls 2

sizeMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected