boost::urls::operator<=
Less‐than‐or‐equal operators
Synopses
Declared in <boost/url/authority_view.hpp>
Return the result of comparing two authorities The authorities are compared component by component as if they were first normalized.
bool
operator<=(
authority_view const& a0,
authority_view const& a1) noexcept;
cpp
Return the result of comparing two URLs
bool
operator<=(
url_view_base const& u0,
url_view_base const& u1) noexcept;
cpp
Compare two decode views for less than or equal
constexpr
bool
operator<=(
decode_view const& lhs,
decode_view const& rhs) noexcept;
cpp
Compare two decode views for less than or equal
template<std::convertible_to<core::string_view> S>
constexpr
bool
operator<=(
decode_view const& lhs,
S const& rhs) noexcept;
cpp
Compare two decode views for less than or equal
template<std::convertible_to<core::string_view> S>
constexpr
bool
operator<=(
S const& lhs,
decode_view const& rhs) noexcept;
cpp
Return Value
-
true
ifa0 <= a1
, otherwisefalse
-
true
ifu0 <= u1
-
true
if decodedlhs
is less than or equal to the decodedrhs
Parameters
Name |
Description |
a0 |
The first authority to compare |
a1 |
The second authority to compare |
u0 |
The first url to compare |
u1 |
The second url to compare |
lhs |
The left‐hand‐side decode view to compare |
rhs |
The right‐hand‐side decode view to compare |
Created with MrDocs