SourceLocationEqual::operator()

Compare two source locations for equality.

Synopsis

Declared in <logging.h>

bool
operator()(
    SourceLocation const& lhs,
    SourceLocation const& rhs) const noexcept;

Return Value

true if both refer to the same line and file.

Parameters

NameDescription
lhsThe first source location.
rhsThe second source location.