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 __SGI_STL_ITERATOR_H 28#define __SGI_STL_ITERATOR_H 29 30#ifndef __SGI_STL_FUNCTION_H 31#include <function.h> 32#endif 33#include <stddef.h> 34#include <iostream.h> 35#ifndef __SGI_STL_INTERNAL_ITERATOR_H 36#include <stl_iterator.h> 37#endif 38#ifndef __TYPE_TRAITS_H 39#include <type_traits.h> 40#endif 41#ifndef __SGI_STL_INTERNAL_CONSTRUCT_H 42#include <stl_construct.h> 43#endif 44#ifndef __SGI_STL_INTERNAL_RAW_STORAGE_ITERATOR_H 45#include <stl_raw_storage_iter.h> 46#endif 47 48#ifdef __STL_USE_NAMESPACES 49 50// Names from stl_iterator.h 51 52using __STD::input_iterator_tag; 53using __STD::output_iterator_tag; 54using __STD::forward_iterator_tag; 55using __STD::bidirectional_iterator_tag; 56using __STD::random_access_iterator_tag; 57 58#if 0 59using __STD::iterator; 60#endif 61using __STD::input_iterator; 62using __STD::output_iterator; 63using __STD::forward_iterator; 64using __STD::bidirectional_iterator; 65using __STD::random_access_iterator; 66 67#ifdef __STL_CLASS_PARTIAL_SPECIALIZATION 68using __STD::iterator_traits; 69#endif 70 71using __STD::iterator_category; 72using __STD::distance_type; 73using __STD::value_type; 74 75using __STD::distance; 76using __STD::advance; 77 78using __STD::insert_iterator; 79using __STD::front_insert_iterator; 80using __STD::back_insert_iterator; 81using __STD::inserter; 82using __STD::front_inserter; 83using __STD::back_inserter; 84 85using __STD::reverse_iterator; 86using __STD::reverse_bidirectional_iterator; 87 88using __STD::istream_iterator; 89using __STD::ostream_iterator; 90 91// Names from stl_construct.h 92using __STD::construct; 93using __STD::destroy; 94 95// Names from stl_raw_storage_iter.h 96using __STD::raw_storage_iterator; 97 98#endif /* __STL_USE_NAMESPACES */ 99 100#endif /* __SGI_STL_ITERATOR_H */ 101 102// Local Variables: 103// mode:C++ 104// End: 105