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_RBEGIN_HPP
12 #define BOOST_RANGE_RBEGIN_HPP
18 #include <boost/range/end.hpp>
19 #include <boost/range/reverse_iterator.hpp>
25 inline BOOST_DEDUCED_TYPENAME range_reverse_iterator<C>::type
28 typedef BOOST_DEDUCED_TYPENAME range_reverse_iterator<C>::type
30 return iter_type( boost::end( c ) );
34 inline BOOST_DEDUCED_TYPENAME range_reverse_iterator<const C>::type
37 typedef BOOST_DEDUCED_TYPENAME range_reverse_iterator<const C>::type
39 return iter_type( boost::end( c ) );
43 inline BOOST_DEDUCED_TYPENAME range_reverse_iterator<const T>::type
44 const_rbegin( const T& r )
46 return boost::rbegin( r );
49 } // namespace 'boost'