# function.h

    00001 // Backward-compat support -*- C++ -*-
    00002
    00003 // Copyright (C) 2001 Free Software Foundation, Inc.
    00004 //
    00005 // This file is part of the GNU ISO C++ Library.  This library is free
    00006 // software; you can redistribute it and/or modify it under the
    00007 // terms of the GNU General Public License as published by the
    00008 // Free Software Foundation; either version 2, or (at your option)
    00009 // any later version.
    00010
    00011 // This library is distributed in the hope that it will be useful,
    00012 // but WITHOUT ANY WARRANTY; without even the implied warranty of
    00013 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    00014 // GNU General Public License for more details.
    00015
    00016 // You should have received a copy of the GNU General Public License along
    00017 // with this library; see the file COPYING.  If not, write to the Free
    00018 // Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307,
    00019 // USA.
    00020
    00021 // As a special exception, you may use this file as part of a free software
    00022 // library without restriction.  Specifically, if other files instantiate
    00023 // templates or use macros or inline functions from this file, or you compile
    00024 // this file and link it with other files to produce an executable, this
    00025 // file does not by itself cause the resulting executable to be covered by
    00026 // the GNU General Public License.  This exception does not however
    00027 // invalidate any other reasons why the executable file might be covered by
    00028 // the GNU General Public License.
    00029
    00030 /*
    00031  *
    00032  * Copyright (c) 1994
    00033  * Hewlett-Packard Company
    00034  *
    00035  * Permission to use, copy, modify, distribute and sell this software
    00036  * and its documentation for any purpose is hereby granted without fee,
    00037  * provided that the above copyright notice appear in all copies and
    00038  * that both that copyright notice and this permission notice appear
    00039  * in supporting documentation.  Hewlett-Packard Company makes no
    00040  * representations about the suitability of this software for any
    00041  * purpose.  It is provided "as is" without express or implied warranty.
    00042  *
    00043  *
    00044  * Copyright (c) 1996,1997
    00045  * Silicon Graphics Computer Systems, Inc.
    00046  *
    00047  * Permission to use, copy, modify, distribute and sell this software
    00048  * and its documentation for any purpose is hereby granted without fee,
    00049  * provided that the above copyright notice appear in all copies and
    00050  * that both that copyright notice and this permission notice appear
    00051  * in supporting documentation.  Silicon Graphics makes no
    00052  * representations about the suitability of this software for any
    00053  * purpose.  It is provided "as is" without express or implied warranty.
    00054  */
    00055
    00056 #ifndef _CPP_BACKWARD_FUNCTION_H
    00057 #define _CPP_BACKWARD_FUNCTION_H 1
    00058
    00059 #include "backward_warning.h"
    00060 #include <bits/c++config.h>
    00061 #include <stddef.h>
    00062 #include <bits/stl_function.h>
    00063 #include <ext/functional>
    00064
    00065 // Names from stl_function.h
    00066 using std::unary_function;
    00067 using std::binary_function;
    00068 using std::plus;
    00069 using std::minus;
    00070 using std::multiplies;
    00071 using std::divides;
    00072 using std::modulus;
    00073 using std::negate;
    00074 using std::equal_to;
    00075 using std::not_equal_to;
    00076 using std::greater;
    00077 using std::less;
    00078 using std::greater_equal;
    00079 using std::less_equal;
    00080 using std::logical_and;
    00081 using std::logical_or;
    00082 using std::logical_not;
    00083 using std::unary_negate;
    00084 using std::binary_negate;
    00085 using std::not1;
    00086 using std::not2;
    00087 using std::binder1st;
    00088 using std::binder2nd;
    00089 using std::bind1st;
    00090 using std::bind2nd;
    00091 using std::pointer_to_unary_function;
    00092 using std::pointer_to_binary_function;
    00093 using std::ptr_fun;
    00094 using std::mem_fun_t;
    00095 using std::const_mem_fun_t;
    00096 using std::mem_fun_ref_t;
    00097 using std::const_mem_fun_ref_t;
    00098 using std::mem_fun1_t;
    00099 using std::const_mem_fun1_t;
    00100 using std::mem_fun1_ref_t;
    00101 using std::const_mem_fun1_ref_t;
    00102 using std::mem_fun;
    00103 using std::mem_fun_ref;
    00104
    00105 // Names from ext/functional
    00106 using __gnu_cxx::identity_element;
    00107 using __gnu_cxx::unary_compose;
    00108 using __gnu_cxx::binary_compose;
    00109 using __gnu_cxx::compose1;
    00110 using __gnu_cxx::compose2;
    00111 using __gnu_cxx::identity;
    00112 using __gnu_cxx::select1st;
    00113 using __gnu_cxx::select2nd;
    00114 using __gnu_cxx::project1st;
    00115 using __gnu_cxx::project2nd;
    00116 using __gnu_cxx::constant_void_fun;
    00117 using __gnu_cxx::constant_unary_fun;
    00118 using __gnu_cxx::constant_binary_fun;
    00119 using __gnu_cxx::constant0;
    00120 using __gnu_cxx::constant1;
    00121 using __gnu_cxx::constant2;
    00122 using __gnu_cxx::subtractive_rng;
    00123 using __gnu_cxx::mem_fun1;
    00124 using __gnu_cxx::mem_fun1_ref;
    00125
    00126 #endif /* _CPP_BACKWARD_FUNCTION_H */
    00127
    00128 // Local Variables:
    00129 // mode:C++
    00130 // End: