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