forked from boostorg/range
[range] Merge Boost.Range bug fixes to release branch (fixes #6944; fixes #7407; fixes #7408; fixes #7731; fixes #7827; fixes #8338; fixes #8453).
[SVN r84823]
This commit is contained in:
@ -15,11 +15,14 @@
|
||||
|
||||
#include <boost/assign.hpp>
|
||||
#include <boost/range/algorithm_ext.hpp>
|
||||
#include <boost/range/concepts.hpp>
|
||||
|
||||
#include <algorithm>
|
||||
#include <list>
|
||||
#include <vector>
|
||||
|
||||
#include "../test_utils.hpp"
|
||||
|
||||
namespace boost
|
||||
{
|
||||
namespace
|
||||
@ -83,6 +86,9 @@ namespace boost
|
||||
{
|
||||
indexed_test_impl< std::vector< int > >();
|
||||
indexed_test_impl< std::list< int > >();
|
||||
|
||||
check_random_access_range_concept(std::vector<int>() | boost::adaptors::indexed(0));
|
||||
check_bidirectional_range_concept(std::list<int>() | boost::adaptors::indexed(0));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user