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 44using __STD_RELOPS::operator!=; 45using __STD_RELOPS::operator>; 46using __STD_RELOPS::operator<=; 47using __STD_RELOPS::operator>=; 48 49#endif /* __STL_USE_NAMESPACE_FOR_RELOPS */ 50 51#ifdef __STL_USE_NAMESPACES 52 53// Names from stl_function.h 54using __STD::unary_function; 55using __STD::binary_function; 56using __STD::plus; 57using __STD::minus; 58using __STD::multiplies; 59using __STD::divides; 60using __STD::identity_element; 61using __STD::modulus; 62using __STD::negate; 63using __STD::equal_to; 64using __STD::not_equal_to; 65using __STD::greater; 66using __STD::less; 67using __STD::greater_equal; 68using __STD::less_equal; 69using __STD::logical_and; 70using __STD::logical_or; 71using __STD::logical_not; 72using __STD::unary_negate; 73using __STD::binary_negate; 74using __STD::not1; 75using __STD::not2; 76using __STD::binder1st; 77using __STD::binder2nd; 78using __STD::bind1st; 79using __STD::bind2nd; 80using __STD::unary_compose; 81using __STD::binary_compose; 82using __STD::compose1; 83using __STD::compose2; 84using __STD::pointer_to_unary_function; 85using __STD::pointer_to_binary_function; 86using __STD::ptr_fun; 87using __STD::identity; 88using __STD::select1st; 89using __STD::select2nd; 90using __STD::project1st; 91using __STD::project2nd; 92using __STD::constant_void_fun; 93using __STD::constant_unary_fun; 94using __STD::constant_binary_fun; 95using __STD::constant0; 96using __STD::constant1; 97using __STD::constant2; 98using __STD::subtractive_rng; 99using __STD::mem_fun_t; 100using __STD::const_mem_fun_t; 101using __STD::mem_fun_ref_t; 102using __STD::const_mem_fun_ref_t; 103using __STD::mem_fun1_t; 104using __STD::const_mem_fun1_t; 105using __STD::mem_fun1_ref_t; 106using __STD::const_mem_fun1_ref_t; 107using __STD::mem_fun; 108using __STD::mem_fun_ref; 109using __STD::mem_fun1; 110using __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: 119