19 #if !defined( BOLT_AMP_ITERATOR_TRAITS_H )
20 #define BOLT_AMP_ITERATOR_TRAITS_H
32 template<
typename iterator >
35 typedef typename iterator::iterator_category iterator_category;
36 typedef typename iterator::value_type value_type;
37 typedef typename iterator::difference_type difference_type;
38 typedef typename iterator::pointer pointer;
39 typedef typename iterator::reference reference;
45 typedef typename std::random_access_iterator_tag iterator_category;
48 typedef int difference_type;
56 typedef typename std::random_access_iterator_tag iterator_category;
58 typedef int difference_type;
59 typedef const T* pointer;
60 typedef const T& reference;