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 an old version of boost. Click here for the latest Boost documentation.
PrevUpHomeNext
static_string::compare

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

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

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

int
compare(
    CharT const* s) const;
  » more...

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

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

int
compare(
    string_view_type str) const;
  » more...

int
compare(
    size_type pos1,
    size_type count1,
    string_view_type str) const;
  » more...

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

PrevUpHomeNext