Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
is_permutation.hpp File Reference
#include <algorithm>
#include <utility>
#include <functional>
#include <iterator>
#include <boost/algorithm/cxx11/is_permutation.hpp>
#include <boost/algorithm/cxx14/mismatch.hpp>
Include dependency graph for is_permutation.hpp:

Namespaces

 boost
 Duration formatting facet for input.
 
 boost::algorithm
 

Functions

template<class ForwardIterator1 , class ForwardIterator2 >
bool boost::algorithm::is_permutation (ForwardIterator1 first1, ForwardIterator1 last1, ForwardIterator2 first2, ForwardIterator2 last2)
 Tests to see if the sequence [first,last) is a permutation of the sequence starting at first2. More...
 
template<class ForwardIterator1 , class ForwardIterator2 , class BinaryPredicate >
bool boost::algorithm::is_permutation (ForwardIterator1 first1, ForwardIterator1 last1, ForwardIterator2 first2, ForwardIterator2 last2, BinaryPredicate pred)
 Tests to see if the sequence [first,last) is a permutation of the sequence starting at first2. More...