2000-10-05 19:27:02 +08:00
|
|
|
/*
|
|
|
|
*
|
|
|
|
* Copyright (c) 1994
|
|
|
|
* Hewlett-Packard Company
|
|
|
|
*
|
|
|
|
* Permission to use, copy, modify, distribute and sell this software
|
|
|
|
* and its documentation for any purpose is hereby granted without fee,
|
|
|
|
* provided that the above copyright notice appear in all copies and
|
|
|
|
* that both that copyright notice and this permission notice appear
|
|
|
|
* in supporting documentation. Hewlett-Packard Company makes no
|
|
|
|
* representations about the suitability of this software for any
|
|
|
|
* purpose. It is provided "as is" without express or implied warranty.
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* Copyright (c) 1996,1997
|
|
|
|
* Silicon Graphics Computer Systems, Inc.
|
|
|
|
*
|
|
|
|
* Permission to use, copy, modify, distribute and sell this software
|
|
|
|
* and its documentation for any purpose is hereby granted without fee,
|
|
|
|
* provided that the above copyright notice appear in all copies and
|
|
|
|
* that both that copyright notice and this permission notice appear
|
|
|
|
* in supporting documentation. Silicon Graphics makes no
|
|
|
|
* representations about the suitability of this software for any
|
|
|
|
* purpose. It is provided "as is" without express or implied warranty.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _CPP_BACKWARD_FUNCTION_H
|
|
|
|
#define _CPP_BACKWARD_FUNCTION_H 1
|
|
|
|
|
2001-04-06 14:08:17 +08:00
|
|
|
#include "backward_warning.h"
|
2001-02-21 04:20:48 +08:00
|
|
|
#include <bits/c++config.h>
|
2000-10-05 19:27:02 +08:00
|
|
|
#include <stddef.h>
|
|
|
|
#include <bits/stl_function.h>
|
|
|
|
|
|
|
|
// Names from stl_function.h
|
2001-03-05 05:34:02 +08:00
|
|
|
using std::unary_function;
|
|
|
|
using std::binary_function;
|
|
|
|
using std::plus;
|
|
|
|
using std::minus;
|
|
|
|
using std::multiplies;
|
|
|
|
using std::divides;
|
|
|
|
using std::identity_element;
|
|
|
|
using std::modulus;
|
|
|
|
using std::negate;
|
|
|
|
using std::equal_to;
|
|
|
|
using std::not_equal_to;
|
|
|
|
using std::greater;
|
|
|
|
using std::less;
|
|
|
|
using std::greater_equal;
|
|
|
|
using std::less_equal;
|
|
|
|
using std::logical_and;
|
|
|
|
using std::logical_or;
|
|
|
|
using std::logical_not;
|
|
|
|
using std::unary_negate;
|
|
|
|
using std::binary_negate;
|
|
|
|
using std::not1;
|
|
|
|
using std::not2;
|
|
|
|
using std::binder1st;
|
|
|
|
using std::binder2nd;
|
|
|
|
using std::bind1st;
|
|
|
|
using std::bind2nd;
|
|
|
|
using std::unary_compose;
|
|
|
|
using std::binary_compose;
|
|
|
|
using std::compose1;
|
|
|
|
using std::compose2;
|
|
|
|
using std::pointer_to_unary_function;
|
|
|
|
using std::pointer_to_binary_function;
|
|
|
|
using std::ptr_fun;
|
|
|
|
using std::identity;
|
|
|
|
using std::select1st;
|
|
|
|
using std::select2nd;
|
|
|
|
using std::project1st;
|
|
|
|
using std::project2nd;
|
|
|
|
using std::constant_void_fun;
|
|
|
|
using std::constant_unary_fun;
|
|
|
|
using std::constant_binary_fun;
|
|
|
|
using std::constant0;
|
|
|
|
using std::constant1;
|
|
|
|
using std::constant2;
|
|
|
|
using std::subtractive_rng;
|
|
|
|
using std::mem_fun_t;
|
|
|
|
using std::const_mem_fun_t;
|
|
|
|
using std::mem_fun_ref_t;
|
|
|
|
using std::const_mem_fun_ref_t;
|
|
|
|
using std::mem_fun1_t;
|
|
|
|
using std::const_mem_fun1_t;
|
|
|
|
using std::mem_fun1_ref_t;
|
|
|
|
using std::const_mem_fun1_ref_t;
|
|
|
|
using std::mem_fun;
|
|
|
|
using std::mem_fun_ref;
|
|
|
|
using std::mem_fun1;
|
|
|
|
using std::mem_fun1_ref;
|
2000-10-05 19:27:02 +08:00
|
|
|
|
|
|
|
#endif /* _CPP_BACKWARD_FUNCTION_H */
|
|
|
|
|
|
|
|
// Local Variables:
|
|
|
|
// mode:C++
|
|
|
|
// End:
|