libycxx

member function · 6 overloads

std::basic_string_view::compare

Scope
std::basic_string_view

Overloads

  1. constexpr int compare(basic_string_view s) const noexcept;
    (1)
  2. constexpr int compare(const charT* s) const;
    (2)
  3. constexpr int compare(
        size_type pos1,
        size_type n1,
        basic_string_view s) const;
    (3)
  4. constexpr int compare(size_type pos1, size_type n1, const charT* s) const;
    (4)
  5. constexpr int compare(
        size_type pos1,
        size_type n1,
        const charT* s,
        size_type n2) const;
    (5)
  6. constexpr int compare(
        size_type pos1,
        size_type n1,
        basic_string_view s,
        size_type pos2,
        size_type n2) const;
    (6)