boost::urls::grammar::operator== :: Boost Libraries Documentation

# boost::urls::grammar::operator==

Compare two string views for equality

## Synopsis

Declared in `<boost/url/grammar/string_view_base.hpp>`

    template<
        class S0,
        class S1>
    constexpr
    bool
    operator==(
        S0 const& s0,
        S1 const& s1) noexcept
    requires is_match<S0, S1>::value;

## Description

This function is only enabled if both arguments are convertible to `core::string_view` and at least one of the arguments is derived from `string_view_base`.

## Return Value

`true` if the strings are equal, otherwise `false`

## Parameters

Name | Description
s0 | The first string
s1 | The second string

Created with MrDocs