[#SourceLocationEqual-operator_call]
= xref:SourceLocationEqual.adoc[SourceLocationEqual]::operator()
:relfileprefix: ../
:mrdocs:

Compare two source locations for equality&period;

== Synopsis

Declared in `&lt;logging&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
operator()(
    xref:SourceLocation.adoc[SourceLocation] const& lhs,
    xref:SourceLocation.adoc[SourceLocation] const& rhs) const noexcept;
----

== Return Value

true if both refer to the same line and file&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *lhs*
| The first source location&period;
| *rhs*
| The second source location&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
