mirror of
https://github.com/boostorg/iterator.git
synced 2025-07-19 07:32:08 +02:00
Stop relying on new concept check facilities that aren't in 1.34.0
[SVN r35128]
This commit is contained in:
@ -10,7 +10,7 @@
|
|||||||
#include <boost/iterator/permutation_iterator.hpp>
|
#include <boost/iterator/permutation_iterator.hpp>
|
||||||
#include <boost/static_assert.hpp>
|
#include <boost/static_assert.hpp>
|
||||||
#include <boost/iterator/iterator_concepts.hpp>
|
#include <boost/iterator/iterator_concepts.hpp>
|
||||||
#include <boost/concept/assert.hpp>
|
#include <boost/concept_check.hpp>
|
||||||
|
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <list>
|
#include <list>
|
||||||
@ -44,11 +44,11 @@ void permutation_test()
|
|||||||
|
|
||||||
typedef boost::permutation_iterator< element_range_type::const_iterator, index_type::iterator > permutation_const_type;
|
typedef boost::permutation_iterator< element_range_type::const_iterator, index_type::iterator > permutation_const_type;
|
||||||
|
|
||||||
BOOST_CONCEPT_ASSERT((
|
boost::function_requires<
|
||||||
boost_concepts::InteroperableIteratorConcept<
|
boost_concepts::InteroperableIteratorConcept<
|
||||||
permutation_type
|
permutation_type
|
||||||
, permutation_const_type
|
, permutation_const_type
|
||||||
>));
|
> >();
|
||||||
|
|
||||||
BOOST_CHECK( it == begin );
|
BOOST_CHECK( it == begin );
|
||||||
BOOST_CHECK( it != end );
|
BOOST_CHECK( it != end );
|
||||||
|
Reference in New Issue
Block a user