e58ab803d3b8660c375b22516a78fe7af351ecc7
[tpg/acess2.git] / Usermode / Libraries / libc++.so_src / include_exp / iterator
1 /*
2  */
3 #ifndef _LIBCXX_ITERATOR_
4 #define _LIBCXX_ITERATOR_
5
6 namespace std {
7
8 struct input_iterator_tag {};
9 struct output_iterator_tag {};
10 struct forward_iterator_tag {};
11 struct bidirectional_iterator_tag {};
12 struct random_access_iterator_tag {};
13
14 template <class Category, class T, class Distance = ptrdiff_t, class Pointer = T*, class Reference = T&>
15 class iterator
16 {
17 public:
18         typedef T       value_type;     
19         typedef Distance        difference_type;
20         typedef Pointer pointer_type;
21         typedef Reference       reference;
22         typedef Category        iterator_category;
23 };
24
25 template <class Iterator> class iterator_traits;
26 template <class T> class iterator_traits<T*>;
27 template <class T> class iterator_traits<const T*>;
28
29
30 };      // namespace std
31
32 #endif
33
34 // vim: ft=cpp
35

UCC git Repository :: git.ucc.asn.au