Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext
grammar::string_view_base::operator>=

Comparison.

Synopsis

Defined in header <boost/url/grammar/string_view_base.hpp>

template<
    class String1,
    class String2>
friend bool
operator>=(
    String1 s1,
    String2 s2);
Description

These functions perform a lexicographical comparison of the contents of two strings. At least one of the strings must be derived from string_view_base, with the other string being convertible to string_view.

Complexity

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

Exception Safety

Throws nothing.

Parameters

Name

Description

s1, s2

The strings to compare.

Convenience header <boost/url/grammar.hpp>


PrevUpHomeNext