MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/TriangleMeshDistance / operator ==

Method operator ==

tests/catch.hpp:7791–7793  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7789 return file[0] == '\0';
7790 }
7791 bool SourceLineInfo::operator == ( SourceLineInfo const& other ) const noexcept {
7792 return line == other.line && (file == other.file || std::strcmp(file, other.file) == 0);
7793 }
7794 bool SourceLineInfo::operator < ( SourceLineInfo const& other ) const noexcept {
7795 // We can assume that the same file will usually have the same pointer.
7796 // Thus, if the pointers are the same, there is no point in calling the strcmp

Callers

nothing calls this directly

Calls 2

sizeMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected