OSDN Git Service

eea2c01c960c0e03b78f15a745ba88a6ba2f6659
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / include / backward / iterator.h
1 /*
2  *
3  * Copyright (c) 1994
4  * Hewlett-Packard Company
5  *
6  * Permission to use, copy, modify, distribute and sell this software
7  * and its documentation for any purpose is hereby granted without fee,
8  * provided that the above copyright notice appear in all copies and
9  * that both that copyright notice and this permission notice appear
10  * in supporting documentation.  Hewlett-Packard Company makes no
11  * representations about the suitability of this software for any
12  * purpose.  It is provided "as is" without express or implied warranty.
13  *
14  *
15  * Copyright (c) 1996
16  * Silicon Graphics Computer Systems, Inc.
17  *
18  * Permission to use, copy, modify, distribute and sell this software
19  * and its documentation for any purpose is hereby granted without fee,
20  * provided that the above copyright notice appear in all copies and
21  * that both that copyright notice and this permission notice appear
22  * in supporting documentation.  Silicon Graphics makes no
23  * representations about the suitability of this software for any
24  * purpose.  It is provided "as is" without express or implied warranty.
25  */
26
27 #ifndef _CPP_BACKWARD_ITERATOR_H
28 #define _CPP_BACKWARD_ITERATOR_H 1
29
30 #include "backward_warning.h"
31 #include "function.h"
32 #include <stddef.h>
33 #include "iostream.h"
34 #include "iterator.h"
35
36 #include <bits/stl_construct.h>
37 #include <bits/stl_raw_storage_iter.h>
38
39 // Names from stl_iterator.h
40 using std::input_iterator_tag;
41 using std::output_iterator_tag;
42 using std::forward_iterator_tag;
43 using std::bidirectional_iterator_tag;
44 using std::random_access_iterator_tag;
45
46 #if 0
47 using std::iterator;
48 #endif
49 using std::input_iterator;
50 using std::output_iterator;
51 using std::forward_iterator;
52 using std::bidirectional_iterator;
53 using std::random_access_iterator;
54
55 using std::iterator_traits;
56
57 using std::iterator_category;
58 using std::distance_type;
59 using std::value_type;
60
61 using std::distance; 
62 using std::advance; 
63
64 using std::insert_iterator;
65 using std::front_insert_iterator;
66 using std::back_insert_iterator;
67 using std::inserter;
68 using std::front_inserter;
69 using std::back_inserter;
70
71 using std::reverse_iterator;
72 using std::reverse_bidirectional_iterator;
73
74 using std::istream_iterator;
75 using std::ostream_iterator;
76
77 // Names from stl_construct.h
78 using std::construct;
79 using std::destroy;
80
81 // Names from stl_raw_storage_iter.h
82 using std::raw_storage_iterator;
83
84 #endif /* _CPP_BACKWARD_ITERATOR_H */
85
86 // Local Variables:
87 // mode:C++
88 // End: