1 // Boost.Range library
2 //
3 // Copyright Neil Groves 2011. Use, modification and distribution is subject
4 // to the Boost Software License, Version 1.0. (See accompanying file
5 // LICENSE_1_0.txt or copy at
6 // http://www.boost.org/LICENSE_1_0.txt)
7 //
8 // For more information, see http://www.boost.org/libs/range
9 //
10 
11 #include <boost/range/iterator_range_core.hpp>
12 
13 namespace iterator_range_test_detail
14 {
check_iterator_range_doesnt_convert_pointers()15     void check_iterator_range_doesnt_convert_pointers()
16     {
17         double source[] = { 0.0, 1.0, 2.0, 3.0, 4.0, 5.0 };
18         boost::iterator_range<float*> rng = boost::make_iterator_range(source);
19         boost::ignore_unused_variable_warning(rng);
20     }
21 }
22 
23