Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext
decode_view::operator== (2 of 3 overloads)

Return the result of comparing s0 and s1.

Synopsis

Defined in header <boost/url/decode_view.hpp>

template<
    class String>
friend bool
operator==(
    decode_view s0,
    String const& s1);
Description

This function compares the string that results from applying percent-decoding to s0, to the string s1. Does not allocate.

Constraints
std::is_convertible_v< String, string_view >
Complexity

Linear in s0.size() + s1.size().

Exception Safety

Throws nothing.

Convenience header <boost/url.hpp>


PrevUpHomeNext