iterator_traits.hpp
Go to the documentation of this file.
1 // Copyright David Abrahams 2003.
2 // Distributed under the Boost Software License, Version 1.0. (See
3 // accompanying file LICENSE_1_0.txt or copy at
4 // http://www.boost.org/LICENSE_1_0.txt)
5 #ifndef ITERATOR_TRAITS_DWA200347_HPP
6 # define ITERATOR_TRAITS_DWA200347_HPP
7 
10 
11 namespace boost {
12 namespace iterators {
13 
14 // Macro for supporting old compilers, no longer needed but kept
15 // for backwards compatibility (it was documented).
16 #define BOOST_ITERATOR_CATEGORY iterator_category
17 
18 
19 template <class Iterator>
21 {
22  typedef typename boost::detail::iterator_traits<Iterator>::value_type type;
23 };
24 
25 template <class Iterator>
27 {
28  typedef typename boost::detail::iterator_traits<Iterator>::reference type;
29 };
30 
31 
32 template <class Iterator>
34 {
35  typedef typename boost::detail::iterator_traits<Iterator>::pointer type;
36 };
37 
38 template <class Iterator>
40 {
41  typedef typename boost::detail::iterator_traits<Iterator>::difference_type type;
42 };
43 
44 template <class Iterator>
46 {
47  typedef typename boost::detail::iterator_traits<Iterator>::iterator_category type;
48 };
49 
50 } // namespace iterators
51 
57 
58 } // namespace boost
59 
60 #endif // ITERATOR_TRAITS_DWA200347_HPP
boost::iterators::iterator_difference
Definition: iterator_traits.hpp:39
iterator.hpp
boost
BOOST_MOVE_USE_STANDARD_LIBRARY_MOVE.
boost::iterators::iterator_category::type
boost::detail::iterator_traits< Iterator >::iterator_category type
Definition: iterator_traits.hpp:47
boost::iterators::iterator_category
Definition: iterator_traits.hpp:45
boost::iterators::iterator_value
Definition: iterator_traits.hpp:20
boost::iterators::iterator_reference
Definition: iterator_traits.hpp:26
boost::iterators::iterator_reference::type
boost::detail::iterator_traits< Iterator >::reference type
Definition: iterator_traits.hpp:28
boost::iterators::iterator_difference::type
boost::detail::iterator_traits< Iterator >::difference_type type
Definition: iterator_traits.hpp:41
boost::iterators::iterator_pointer
Definition: iterator_traits.hpp:33
workaround.hpp
boost::iterators::iterator_pointer::type
boost::detail::iterator_traits< Iterator >::pointer type
Definition: iterator_traits.hpp:35
boost::iterators::iterator_value::type
boost::detail::iterator_traits< Iterator >::value_type type
Definition: iterator_traits.hpp:22


sick_visionary_ros
Author(s): SICK AG TechSupport 3D Snapshot
autogenerated on Thu Feb 8 2024 03:40:43