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 a snapshot of the develop branch, built from commit 26d7d9b59f.
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