forked from boostorg/range
[boost][range] - fix for ticket 6888 - unique predicate overloads
[SVN r85686]
This commit is contained in:
committed by
Nathan Ridge
parent
fbc0057432
commit
3d3dea1411
@ -35,6 +35,7 @@
|
||||
#endif
|
||||
|
||||
#include <boost/assign.hpp>
|
||||
#include <boost/config.hpp>
|
||||
#include <boost/array.hpp>
|
||||
#include <boost/bind.hpp>
|
||||
#include <boost/range/numeric.hpp>
|
||||
@ -107,9 +108,11 @@ void test_random_algorithms(Rng & rng, std::random_access_iterator_tag)
|
||||
{
|
||||
typedef BOOST_DEDUCED_TYPENAME boost::range_iterator<Rng>::type iterator;
|
||||
typedef BOOST_DEDUCED_TYPENAME boost::range_value<Rng>::type value_type;
|
||||
typedef BOOST_DEDUCED_TYPENAME boost::range_size<Rng>::type size_type;
|
||||
typedef BOOST_DEDUCED_TYPENAME boost::range_size<Rng>::type size_type BOOST_RANGE_UNUSED;
|
||||
typedef BOOST_DEDUCED_TYPENAME boost::iterator_category<iterator>::type iterator_category;
|
||||
|
||||
|
||||
|
||||
// just make sure these compile (for now)
|
||||
if(0)
|
||||
{
|
||||
@ -328,6 +331,8 @@ void test_algorithms(Rng & rng)
|
||||
o = boost::adjacent_difference( rng, boost::begin(out) );
|
||||
o = boost::adjacent_difference( rng, boost::begin(out),
|
||||
null_op2() );
|
||||
|
||||
boost::ignore_unused_variable_warning(b);
|
||||
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user