[#boost-urls-operator_le-0b] = xref:boost.adoc[boost]::xref:boost/urls.adoc[urls]::operator<= :relfileprefix: ../../ :mrdocs: Less‐than‐or‐equal operators == Synopses Declared in `<https://www.github.com/boostorg/url/blob/develop/include/boost/url/authority_view.hpp#L1393[boost/url/authority_view.hpp]>` Compare two decode views for less than or equal [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<std::convertible_to<core::string_view> S> constexpr bool xref:boost/urls/operator_le-06.adoc[operator<=]( S const& lhs, xref:boost/urls/decode_view.adoc[decode_view] const& rhs) noexcept; ---- [.small]#xref:boost/urls/operator_le-06.adoc[_» more..._]# Compare two decode views for less than or equal [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<std::convertible_to<core::string_view> S> constexpr bool xref:boost/urls/operator_le-0e.adoc[operator<=]( xref:boost/urls/decode_view.adoc[decode_view] const& lhs, S const& rhs) noexcept; ---- [.small]#xref:boost/urls/operator_le-0e.adoc[_» more..._]# Compare two decode views for less than or equal [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- constexpr bool xref:boost/urls/operator_le-00.adoc[operator<=]( xref:boost/urls/decode_view.adoc[decode_view] const& lhs, xref:boost/urls/decode_view.adoc[decode_view] const& rhs) noexcept; ---- [.small]#xref:boost/urls/operator_le-00.adoc[_» more..._]# Return the result of comparing two URLs [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:boost/urls/operator_le-0a.adoc[operator<=]( xref:boost/urls/url_view_base.adoc[url_view_base] const& u0, xref:boost/urls/url_view_base.adoc[url_view_base] const& u1) noexcept; ---- [.small]#xref:boost/urls/operator_le-0a.adoc[_» more..._]# Return the result of comparing two authorities The authorities are compared component by component as if they were first normalized. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:boost/urls/operator_le-01.adoc[operator<=]( xref:boost/urls/authority_view.adoc[authority_view] const& a0, xref:boost/urls/authority_view.adoc[authority_view] const& a1) noexcept; ---- [.small]#xref:boost/urls/operator_le-01.adoc[_» more..._]# == Return Value * `true` if decoded `lhs` is less than or equal to the decoded `rhs` * `true` if `u0 <= u1` * `true` if `a0 <= a1`, otherwise `false` == Parameters [cols=2] |=== | Name | Description | *lhs* | The left‐hand‐side decode view to compare | *rhs* | The right‐hand‐side decode view to compare | *u0* | The first url to compare | *u1* | The second url to compare | *a0* | The first authority to compare | *a1* | The second authority to compare |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#