19 #if !defined( BOLT_CL_ITERATOR_TRAITS_H )
20 #define BOLT_CL_ITERATOR_TRAITS_H
34 operator std::input_iterator_tag ( )
const
41 operator std::output_iterator_tag ( )
const
48 operator std::forward_iterator_tag ( )
const
55 operator std::bidirectional_iterator_tag ( )
const
62 operator std::random_access_iterator_tag ( )
const
76 template<
typename iterator >
79 typedef typename iterator::iterator_category iterator_category;
80 typedef typename iterator::value_type value_type;
81 typedef typename iterator::difference_type difference_type;
82 typedef typename iterator::pointer pointer;
83 typedef typename iterator::reference reference;
89 typedef typename std::random_access_iterator_tag iterator_category;
92 typedef int difference_type;
100 typedef typename std::random_access_iterator_tag iterator_category;
101 typedef T value_type;
103 typedef int difference_type;
104 typedef const T* pointer;
105 typedef const T& reference;