[#boost-urls-decode_view-compare-0d] = xref:boost.adoc[boost]::xref:boost/urls.adoc[urls]::xref:boost/urls/decode_view.adoc[decode_view]::compare :relfileprefix: ../../../ :mrdocs: Return the result of comparing to another string == Synopses Declared in `<https://www.github.com/boostorg/url/blob/develop/include/boost/url/decode_view.hpp#L537[boost/url/decode_view.hpp]>` Return the result of comparing to another string [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- constexpr int xref:boost/urls/decode_view/compare-01.adoc[compare](xref:boost/urls/decode_view.adoc[decode_view] other) const noexcept; ---- [.small]#xref:boost/urls/decode_view/compare-01.adoc[_» more..._]# Return the result of comparing to another string [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- constexpr int xref:boost/urls/decode_view/compare-02.adoc[compare](core::string_view other) const noexcept; ---- [.small]#xref:boost/urls/decode_view/compare-02.adoc[_» more..._]# == Return Value Negative value if this string is less than the other character sequence, zero if the both character sequences are equal, positive value if this string is greater than the other character sequence == Parameters [cols=2] |=== | Name | Description | *other* | string to compare |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#