[#fs-path-compare-06f]
= xref:fs.adoc[fs]::xref:fs/path.adoc[path]::compare
:relfileprefix: ../../
:mrdocs:

== Synopsis

Declared in `&lt;util&sol;fs&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;nodiscard, &lowbar;&lowbar;visibility&lowbar;&lowbar;, &lowbar;&lowbar;exclude&lowbar;from&lowbar;explicit&lowbar;instantiation&lowbar;&lowbar;, &lowbar;&lowbar;abi&lowbar;tag&lowbar;&lowbar;&rsqb;&rsqb;
int
compare(path const& &lowbar;&lowbar;p) const noexcept;
----

== Return Value

[NOTE]
====
The return value https://en.cppreference.com/cpp/language/attributes/nodiscard[should not be discarded^].
====

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