3 // Copyright Thorsten Ottosen 2003-2004. 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)
8 // For more information, see http://www.boost.org/libs/range/
11 #ifndef BOOST_RANGE_REND_HPP
12 #define BOOST_RANGE_REND_HPP
14 #if defined(_MSC_VER) && (_MSC_VER >= 1200)
18 #include <boost/range/begin.hpp>
19 #include <boost/range/reverse_iterator.hpp>
24 #ifdef BOOST_NO_FUNCTION_TEMPLATE_ORDERING
27 inline BOOST_DEDUCED_TYPENAME range_reverse_iterator<C>::type
30 return BOOST_DEDUCED_TYPENAME range_reverse_iterator<C>::type( boost::begin( c ) );
36 inline BOOST_DEDUCED_TYPENAME range_reverse_iterator<C>::type
39 typedef BOOST_DEDUCED_TYPENAME range_reverse_iterator<C>::type
41 return iter_type( boost::begin( c ) );
45 inline BOOST_DEDUCED_TYPENAME range_reverse_iterator<const C>::type
48 typedef BOOST_DEDUCED_TYPENAME range_reverse_iterator<const C>::type
50 return iter_type( boost::begin( c ) );
56 inline BOOST_DEDUCED_TYPENAME range_reverse_iterator<const T>::type
57 const_rend( const T& r )
59 return boost::rend( r );
62 } // namespace 'boost'