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:
Marshall Clow
2014-12-03 15:07:33 -08:00
parent 0c3f9a38f4
commit 85adf4c74e

View File

@ -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
}} }}