| 1 | // Boost.Range library |
|---|---|
| 2 | // |
| 3 | // Copyright Akira Takahashi 2013. Use, modification and |
| 4 | // distribution is subject to the Boost Software License, Version |
| 5 | // 1.0. (See accompanying file LICENSE_1_0.txt or copy at |
| 6 | // http://www.boost.org/LICENSE_1_0.txt) |
| 7 | // |
| 8 | // |
| 9 | // For more information, see http://www.boost.org/libs/range/ |
| 10 | // |
| 11 | |
| 12 | #include <boost/range/concepts.hpp> |
| 13 | |
| 14 | template <class RandomAccessRng> |
| 15 | void check_random_access_range_concept(const RandomAccessRng& rng) |
| 16 | { |
| 17 | BOOST_RANGE_CONCEPT_ASSERT(( boost::RandomAccessRangeConcept<RandomAccessRng> )); |
| 18 | } |
| 19 | |
| 20 | template <class BidirectionalRng> |
| 21 | void check_bidirectional_range_concept(const BidirectionalRng& rng) |
| 22 | { |
| 23 | BOOST_RANGE_CONCEPT_ASSERT(( boost::BidirectionalRangeConcept<BidirectionalRng> )); |
| 24 | } |
| 25 |
