mirror of
https://github.com/boostorg/algorithm.git
synced 2025-07-06 09:16:33 +02:00
For some reason, these routines were only compiled in for C++11 and less. Make them available all the time.
This commit is contained in:
@ -22,7 +22,6 @@
|
|||||||
|
|
||||||
namespace boost { namespace algorithm {
|
namespace boost { namespace algorithm {
|
||||||
|
|
||||||
#if __cplusplus <= 201103L
|
|
||||||
/// \fn is_permutation ( ForwardIterator1 first, ForwardIterator1 last,
|
/// \fn is_permutation ( ForwardIterator1 first, ForwardIterator1 last,
|
||||||
/// ForwardIterator2 first2, ForwardIterator2 last2 )
|
/// ForwardIterator2 first2, ForwardIterator2 last2 )
|
||||||
/// \brief Tests to see if the sequence [first,last) is a permutation of the sequence starting at first2
|
/// \brief Tests to see if the sequence [first,last) is a permutation of the sequence starting at first2
|
||||||
@ -79,7 +78,6 @@ bool is_permutation ( ForwardIterator1 first1, ForwardIterator1 last1,
|
|||||||
typename std::iterator_traits<ForwardIterator1>::iterator_category (),
|
typename std::iterator_traits<ForwardIterator1>::iterator_category (),
|
||||||
typename std::iterator_traits<ForwardIterator2>::iterator_category ());
|
typename std::iterator_traits<ForwardIterator2>::iterator_category ());
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
}}
|
}}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user