| Home | Libraries | People | FAQ | More

#### basic_static_string::compare

Compare a string with the string.

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

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

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

    int
    compare(
        const_pointer s) const;
      » more...

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

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

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

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

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