Import some interworking support code from devo.
[official-gcc.git] / libstdc++ / stl / algobase.h
blobf35e7af4a97648b4c6d349ceb298f1bc06b7a343
1 /*
3 * Copyright (c) 1994
4 * Hewlett-Packard Company
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.
14 * Copyright (c) 1996,1997
15 * Silicon Graphics Computer Systems, Inc.
17 * Permission to use, copy, modify, distribute and sell this software
18 * and its documentation for any purpose is hereby granted without fee,
19 * provided that the above copyright notice appear in all copies and
20 * that both that copyright notice and this permission notice appear
21 * in supporting documentation. Silicon Graphics makes no
22 * representations about the suitability of this software for any
23 * purpose. It is provided "as is" without express or implied warranty.
26 #ifndef __SGI_STL_ALGOBASE_H
27 #define __SGI_STL_ALGOBASE_H
29 #ifndef __SGI_STL_PAIR_H
30 #include <pair.h>
31 #endif
32 #ifndef __SGI_STL_ITERATOR_H
33 #include <iterator.h>
34 #endif
35 #ifndef __SGI_STL_INTERNAL_ALGOBASE_H
36 #include <stl_algobase.h>
37 #endif
38 #ifndef __SGI_STL_INTERNAL_UNINITIALIZED_H
39 #include <stl_uninitialized.h>
40 #endif
42 #ifdef __STL_USE_NAMESPACES
44 // Names from stl_algobase.h
45 using __STD::iter_swap;
46 using __STD::swap;
47 using __STD::min;
48 using __STD::max;
49 using __STD::copy;
50 using __STD::copy_backward;
51 using __STD::copy_n;
52 using __STD::fill;
53 using __STD::fill_n;
54 using __STD::mismatch;
55 using __STD::equal;
56 using __STD::lexicographical_compare;
57 using __STD::lexicographical_compare_3way;
59 // Names from stl_uninitialized.h
60 using __STD::uninitialized_copy;
61 using __STD::uninitialized_copy_n;
62 using __STD::uninitialized_fill;
63 using __STD::uninitialized_fill_n;
65 #endif /* __STL_USE_NAMESPACES */
67 #endif /* __SGI_STL_ALGOBASE_H */
69 // Local Variables:
70 // mode:C++
71 // End: