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/range/begin.hpp>
#include <boost/range/end.hpp>
#include <boost/utility/enable_if.hpp>
#include <boost/type_traits/is_same.hpp>
Include dependency graph for is_permutation.hpp:
This graph shows which files directly or indirectly include this file:

Namespaces

 boost
 Duration formatting facet for input.
 
 boost::algorithm
 

Functions

template<class ForwardIterator1 , class ForwardIterator2 , class BinaryPredicate >
bool boost::algorithm::is_permutation (ForwardIterator1 first1, ForwardIterator1 last1, ForwardIterator2 first2, BinaryPredicate p)
 Tests to see if the sequence [first,last) is a permutation of the sequence starting at first2. More...
 
template<class ForwardIterator1 , class ForwardIterator2 >
bool boost::algorithm::is_permutation (ForwardIterator1 first1, ForwardIterator1 last1, ForwardIterator2 first2)
 Tests to see if the sequence [first,last) is a permutation of the sequence starting at first2. More...
 
template<typename Range , typename ForwardIterator >
bool boost::algorithm::is_permutation (const Range &r, ForwardIterator first2)
 Tests to see if the sequence [first,last) is a permutation of the sequence starting at first2. More...
 
template<typename Range , typename ForwardIterator , typename BinaryPredicate >
boost::disable_if_c
< boost::is_same< Range,
ForwardIterator >::value, bool >
::type 
boost::algorithm::is_permutation (const Range &r, ForwardIterator first2, BinaryPredicate pred)
 Tests to see if the sequence [first,last) is a permutation of the sequence starting at first2. More...