| Home | Libraries | People | FAQ | More

#### basic_static_string::compare

Compare a string with the string.

    template<
        std::size_t M>
    constexpr int
    compare(
        const basic_static_string< M, CharT, Traits >& s) const noexcept;
      » more...

    template<
        std::size_t M>
    constexpr int
    compare(
        basic_static_string::size_type pos1,
        basic_static_string::size_type count1,
        const basic_static_string< M, CharT, Traits >& s) const;
      » more...

    template<
        std::size_t M>
    constexpr int
    compare(
        basic_static_string::size_type pos1,
        basic_static_string::size_type count1,
        const basic_static_string< M, CharT, Traits >& s,
        basic_static_string::size_type pos2,
        basic_static_string::size_type count2 = basic_static_string::npos) const;
      » more...

    constexpr int
    compare(
        basic_static_string::const_pointer s) const noexcept;
      » more...

    constexpr int
    compare(
        basic_static_string::size_type pos1,
        basic_static_string::size_type count1,
        basic_static_string::const_pointer s) const;
      » more...

    constexpr int
    compare(
        basic_static_string::size_type pos1,
        basic_static_string::size_type count1,
        basic_static_string::const_pointer s,
        basic_static_string::size_type count2) const;
      » more...

    template<
        typename T>
    constexpr int
    compare(
        const T& t) const noexcept;
      » more...

    template<
        typename T>
    constexpr int
    compare(
        basic_static_string::size_type pos1,
        basic_static_string::size_type count1,
        const T& t) const;
      » more...

    template<
        typename T>
    constexpr int
    compare(
        basic_static_string::size_type pos1,
        basic_static_string::size_type count1,
        const T& t,
        basic_static_string::size_type pos2,
        basic_static_string::size_type count2 = basic_static_string::npos) const;
      » more...