diff --git "a/D:\\GitHub\\Boost\\boost-svn\\libs\\range\\test\\adaptor_test\\indexed_origin.cpp" "b/D:\\GitHub\\Boost\\boost-svn\\libs\\range\\test\\adaptor_test\\indexed.cpp"
index 2a9c45d..19b358e 100644
|
old
|
new
|
|
| 15 | 15 | |
| 16 | 16 | #include <boost/assign.hpp> |
| 17 | 17 | #include <boost/range/algorithm_ext.hpp> |
| | 18 | #include <boost/concept_check.hpp> |
| | 19 | #include <boost/range/concepts.hpp> |
| 18 | 20 | |
| 19 | 21 | #include <algorithm> |
| 20 | 22 | #include <list> |
| … |
… |
namespace boost
|
| 79 | 81 | indexed_test_impl(c); |
| 80 | 82 | } |
| 81 | 83 | |
| | 84 | template <class RandomAccessRng> |
| | 85 | void check_random_access_range_concept(const RandomAccessRng& rng) |
| | 86 | { |
| | 87 | BOOST_RANGE_CONCEPT_ASSERT((boost::RandomAccessRangeConcept<RandomAccessRng>)); |
| | 88 | } |
| | 89 | |
| | 90 | template <class BidirectionalRng> |
| | 91 | void check_bidirectional_range_concept(const BidirectionalRng& rng) |
| | 92 | { |
| | 93 | BOOST_RANGE_CONCEPT_ASSERT((boost::BidirectionalRangeConcept<BidirectionalRng>)); |
| | 94 | } |
| | 95 | |
| 82 | 96 | void indexed_test() |
| 83 | 97 | { |
| 84 | 98 | indexed_test_impl< std::vector< int > >(); |
| 85 | 99 | indexed_test_impl< std::list< int > >(); |
| | 100 | |
| | 101 | check_random_access_range_concept(std::vector<int>() | boost::adaptors::indexed(0)); |
| | 102 | check_bidirectional_range_concept(std::list<int>() | boost::adaptors::indexed(0)); |
| 86 | 103 | } |
| 87 | 104 | } |
| 88 | 105 | } |