Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for a snapshot of the master branch, built from commit e70692e4d8.
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