function.h revision 97403
197403Sobrien// Backward-compat support -*- C++ -*-
297403Sobrien
397403Sobrien// Copyright (C) 2001 Free Software Foundation, Inc.
497403Sobrien//
597403Sobrien// This file is part of the GNU ISO C++ Library.  This library is free
697403Sobrien// software; you can redistribute it and/or modify it under the
797403Sobrien// terms of the GNU General Public License as published by the
897403Sobrien// Free Software Foundation; either version 2, or (at your option)
997403Sobrien// any later version.
1097403Sobrien
1197403Sobrien// This library is distributed in the hope that it will be useful,
1297403Sobrien// but WITHOUT ANY WARRANTY; without even the implied warranty of
1397403Sobrien// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
1497403Sobrien// GNU General Public License for more details.
1597403Sobrien
1697403Sobrien// You should have received a copy of the GNU General Public License along
1797403Sobrien// with this library; see the file COPYING.  If not, write to the Free
1897403Sobrien// Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307,
1997403Sobrien// USA.
2097403Sobrien
2197403Sobrien// As a special exception, you may use this file as part of a free software
2297403Sobrien// library without restriction.  Specifically, if other files instantiate
2397403Sobrien// templates or use macros or inline functions from this file, or you compile
2497403Sobrien// this file and link it with other files to produce an executable, this
2597403Sobrien// file does not by itself cause the resulting executable to be covered by
2697403Sobrien// the GNU General Public License.  This exception does not however
2797403Sobrien// invalidate any other reasons why the executable file might be covered by
2897403Sobrien// the GNU General Public License.
2997403Sobrien
3097403Sobrien/*
3197403Sobrien *
3297403Sobrien * Copyright (c) 1994
3397403Sobrien * Hewlett-Packard Company
3497403Sobrien *
3597403Sobrien * Permission to use, copy, modify, distribute and sell this software
3697403Sobrien * and its documentation for any purpose is hereby granted without fee,
3797403Sobrien * provided that the above copyright notice appear in all copies and
3897403Sobrien * that both that copyright notice and this permission notice appear
3997403Sobrien * in supporting documentation.  Hewlett-Packard Company makes no
4097403Sobrien * representations about the suitability of this software for any
4197403Sobrien * purpose.  It is provided "as is" without express or implied warranty.
4297403Sobrien *
4397403Sobrien *
4497403Sobrien * Copyright (c) 1996,1997
4597403Sobrien * Silicon Graphics Computer Systems, Inc.
4697403Sobrien *
4797403Sobrien * Permission to use, copy, modify, distribute and sell this software
4897403Sobrien * and its documentation for any purpose is hereby granted without fee,
4997403Sobrien * provided that the above copyright notice appear in all copies and
5097403Sobrien * that both that copyright notice and this permission notice appear
5197403Sobrien * in supporting documentation.  Silicon Graphics makes no
5297403Sobrien * representations about the suitability of this software for any
5397403Sobrien * purpose.  It is provided "as is" without express or implied warranty.
5497403Sobrien */
5597403Sobrien
5697403Sobrien#ifndef _CPP_BACKWARD_FUNCTION_H
5797403Sobrien#define _CPP_BACKWARD_FUNCTION_H 1
5897403Sobrien
5997403Sobrien#include "backward_warning.h"
6097403Sobrien#include <bits/c++config.h>
6197403Sobrien#include <stddef.h>
6297403Sobrien#include <bits/stl_function.h>
6397403Sobrien#include <ext/functional>
6497403Sobrien
6597403Sobrien// Names from stl_function.h
6697403Sobrienusing std::unary_function;
6797403Sobrienusing std::binary_function;
6897403Sobrienusing std::plus;
6997403Sobrienusing std::minus;
7097403Sobrienusing std::multiplies;
7197403Sobrienusing std::divides;
7297403Sobrienusing std::modulus;
7397403Sobrienusing std::negate;
7497403Sobrienusing std::equal_to;
7597403Sobrienusing std::not_equal_to;
7697403Sobrienusing std::greater;
7797403Sobrienusing std::less;
7897403Sobrienusing std::greater_equal;
7997403Sobrienusing std::less_equal;
8097403Sobrienusing std::logical_and;
8197403Sobrienusing std::logical_or;
8297403Sobrienusing std::logical_not;
8397403Sobrienusing std::unary_negate;
8497403Sobrienusing std::binary_negate;
8597403Sobrienusing std::not1;
8697403Sobrienusing std::not2;
8797403Sobrienusing std::binder1st;
8897403Sobrienusing std::binder2nd;
8997403Sobrienusing std::bind1st;
9097403Sobrienusing std::bind2nd;
9197403Sobrienusing std::pointer_to_unary_function;
9297403Sobrienusing std::pointer_to_binary_function;
9397403Sobrienusing std::ptr_fun;
9497403Sobrienusing std::mem_fun_t;
9597403Sobrienusing std::const_mem_fun_t;
9697403Sobrienusing std::mem_fun_ref_t;
9797403Sobrienusing std::const_mem_fun_ref_t;
9897403Sobrienusing std::mem_fun1_t;
9997403Sobrienusing std::const_mem_fun1_t;
10097403Sobrienusing std::mem_fun1_ref_t;
10197403Sobrienusing std::const_mem_fun1_ref_t;
10297403Sobrienusing std::mem_fun;
10397403Sobrienusing std::mem_fun_ref;
10497403Sobrien
10597403Sobrien// Names from ext/functional
10697403Sobrienusing __gnu_cxx::identity_element;
10797403Sobrienusing __gnu_cxx::unary_compose;
10897403Sobrienusing __gnu_cxx::binary_compose;
10997403Sobrienusing __gnu_cxx::compose1;
11097403Sobrienusing __gnu_cxx::compose2;
11197403Sobrienusing __gnu_cxx::identity;
11297403Sobrienusing __gnu_cxx::select1st;
11397403Sobrienusing __gnu_cxx::select2nd;
11497403Sobrienusing __gnu_cxx::project1st;
11597403Sobrienusing __gnu_cxx::project2nd;
11697403Sobrienusing __gnu_cxx::constant_void_fun;
11797403Sobrienusing __gnu_cxx::constant_unary_fun;
11897403Sobrienusing __gnu_cxx::constant_binary_fun;
11997403Sobrienusing __gnu_cxx::constant0;
12097403Sobrienusing __gnu_cxx::constant1;
12197403Sobrienusing __gnu_cxx::constant2;
12297403Sobrienusing __gnu_cxx::subtractive_rng;
12397403Sobrienusing __gnu_cxx::mem_fun1;
12497403Sobrienusing __gnu_cxx::mem_fun1_ref;
12597403Sobrien
12697403Sobrien#endif /* _CPP_BACKWARD_FUNCTION_H */
12797403Sobrien
12897403Sobrien// Local Variables:
12997403Sobrien// mode:C++
13097403Sobrien// End:
131