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 9fc5439165.
PrevUpHomeNext
pct_string_view::compare

Return the result of comparing to another string.

constexpr int
compare(
    string_view str) const;
  » more...

constexpr int
compare(
    size_type pos1,
    size_type n1,
    string_view str) const;
  » more...

constexpr int
compare(
    size_type pos1,
    size_type n1,
    string_view str,
    size_type pos2,
    size_type n2) const;
  » more...

constexpr int
compare(
    char const* s) const;
  » more...

constexpr int
compare(
    size_type pos1,
    size_type n1,
    char const* s) const;
  » more...

constexpr int
compare(
    size_type pos1,
    size_type n1,
    char const* s,
    size_type n2) const;
  » more...

PrevUpHomeNext