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 09bc02e52a.
PrevUpHomeNext

Function template is_permutation

boost::algorithm::is_permutation — Tests to see if the sequence [first,last) is a permutation of the sequence starting at first2.

Synopsis

// In header: <boost/algorithm/cxx11/is_permutation.hpp>


template<typename Range, typename ForwardIterator> 
  bool is_permutation(const Range & r, ForwardIterator first2);

Description

Parameters:

first2

The start of the second sequence

r

The input range


PrevUpHomeNext