rend.hpp
Go to the documentation of this file.
1 // Boost.Range library
2 //
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)
7 //
8 // For more information, see http://www.boost.org/libs/range/
9 //
10 
11 #ifndef BOOST_RANGE_REND_HPP
12 #define BOOST_RANGE_REND_HPP
13 
14 #if defined(_MSC_VER)
15 # pragma once
16 #endif
17 
18 #include <boost/range/begin.hpp>
20 
21 namespace boost
22 {
23 
24 #ifdef BOOST_NO_FUNCTION_TEMPLATE_ORDERING
25 
26 template< class C >
28 rend( C& c )
29 {
31 }
32 
33 #else
34 
35 template< class C >
37 rend( C& c )
38 {
40  iter_type;
41  return iter_type( boost::begin( c ) );
42 }
43 
44 template< class C >
46 rend( const C& c )
47 {
49  iter_type;
50  return iter_type( boost::begin( c ) );
51 }
52 
53 #endif
54 
55 template< class T >
57 const_rend( const T& r )
58 {
59  return boost::rend( r );
60 }
61 
62 } // namespace 'boost'
63 
64 #endif
65 
BOOST_MOVE_USE_STANDARD_LIBRARY_MOVE.
reverse_iterator< BOOST_DEDUCED_TYPENAME range_iterator< BOOST_DEDUCED_TYPENAME remove_reference< T >::type >::type > type
not_this_one begin(...)
const GLubyte * c
Definition: glext.h:12690
GLdouble GLdouble r
BOOST_DEDUCED_TYPENAME range_reverse_iterator< const T >::type const_rend(const T &r)
Definition: rend.hpp:57
#define BOOST_DEDUCED_TYPENAME
Definition: suffix.hpp:465
BOOST_DEDUCED_TYPENAME range_reverse_iterator< C >::type rend(C &c)
Definition: rend.hpp:37


librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:47:39