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

Method operator <

unittests/catch.hpp:6671–6673  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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 }
6674
6675 std::ostream& operator << ( std::ostream& os, SourceLineInfo const& info ) {
6676#ifndef __GNUG__

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected