Function operator==

Synopsis

#include <include/internal/catch_common.h>

bool operator==(SourceLineInfo const &other) const noexcept

Description

No description yet.

Source

Lines 18-20 in include/internal/catch_common.cpp. Line 61 in include/internal/catch_common.h.

bool SourceLineInfo::operator == ( SourceLineInfo const& other ) const noexcept {
    return line == other.line && (file == other.file || std::strcmp(file, other.file) == 0);
}





Add Discussion as Guest

Log in