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 to view this page for the latest version.
PrevUpHomeNext

Header <boost/algorithm/is_palindrome.hpp>

Checks the input sequence on palindrome.

Alexander Zaitsev

namespace boost {
  namespace algorithm {
    template<typename BidirectionalIterator, typename Predicate> 
      bool is_palindrome(BidirectionalIterator, BidirectionalIterator, 
                         Predicate);
    template<typename BidirectionalIterator> 
      bool is_palindrome(BidirectionalIterator, BidirectionalIterator);
    template<typename R> bool is_palindrome(const R &);
    template<typename R, typename Predicate> 
      bool is_palindrome(const R &, Predicate);
    bool is_palindrome(const char *);
    template<typename Predicate> bool is_palindrome(const char *, Predicate);
  }
}

PrevUpHomeNext