Initial import from FreeBSD RELENG_4:
[dragonfly.git] / contrib / libstdc++ / stl / function.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,1997
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_FUNCTION_H
28 #define __SGI_STL_FUNCTION_H
29
30 #ifndef __STL_CONFIG_H
31 #include <stl_config.h>
32 #endif
33 #ifndef __SGI_STL_INTERNAL_RELOPS
34 #include <stl_relops.h>
35 #endif
36 #include <stddef.h>
37 #ifndef __SGI_STL_INTERNAL_FUNCTION_H
38 #include <stl_function.h>
39 #endif
40
41 #ifdef __STL_USE_NAMESPACE_FOR_RELOPS
42
43 // Names from stl_relops.h
44 using __STD_RELOPS::operator!=;
45 using __STD_RELOPS::operator>;
46 using __STD_RELOPS::operator<=;
47 using __STD_RELOPS::operator>=;
48
49 #endif /* __STL_USE_NAMESPACE_FOR_RELOPS */
50
51 #ifdef __STL_USE_NAMESPACES
52
53 // Names from stl_function.h
54 using __STD::unary_function; 
55 using __STD::binary_function; 
56 using __STD::plus; 
57 using __STD::minus; 
58 using __STD::multiplies; 
59 using __STD::divides; 
60 using __STD::identity_element; 
61 using __STD::modulus; 
62 using __STD::negate; 
63 using __STD::equal_to; 
64 using __STD::not_equal_to; 
65 using __STD::greater; 
66 using __STD::less; 
67 using __STD::greater_equal; 
68 using __STD::less_equal; 
69 using __STD::logical_and; 
70 using __STD::logical_or; 
71 using __STD::logical_not; 
72 using __STD::unary_negate; 
73 using __STD::binary_negate; 
74 using __STD::not1; 
75 using __STD::not2; 
76 using __STD::binder1st; 
77 using __STD::binder2nd; 
78 using __STD::bind1st; 
79 using __STD::bind2nd; 
80 using __STD::unary_compose; 
81 using __STD::binary_compose; 
82 using __STD::compose1; 
83 using __STD::compose2; 
84 using __STD::pointer_to_unary_function; 
85 using __STD::pointer_to_binary_function; 
86 using __STD::ptr_fun; 
87 using __STD::identity; 
88 using __STD::select1st; 
89 using __STD::select2nd; 
90 using __STD::project1st; 
91 using __STD::project2nd; 
92 using __STD::constant_void_fun; 
93 using __STD::constant_unary_fun; 
94 using __STD::constant_binary_fun; 
95 using __STD::constant0; 
96 using __STD::constant1; 
97 using __STD::constant2; 
98 using __STD::subtractive_rng; 
99 using __STD::mem_fun_t; 
100 using __STD::const_mem_fun_t; 
101 using __STD::mem_fun_ref_t; 
102 using __STD::const_mem_fun_ref_t; 
103 using __STD::mem_fun1_t; 
104 using __STD::const_mem_fun1_t; 
105 using __STD::mem_fun1_ref_t; 
106 using __STD::const_mem_fun1_ref_t; 
107 using __STD::mem_fun; 
108 using __STD::mem_fun_ref; 
109 using __STD::mem_fun1; 
110 using __STD::mem_fun1_ref; 
111
112 #endif /* __STL_USE_NAMESPACES */
113
114 #endif /* __SGI_STL_FUNCTION_H */
115
116 // Local Variables:
117 // mode:C++
118 // End: