mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-23 13:29:59 +08:00
baac9fce7d
2001-04-05 Benjamin Kosnik <bkoz@redhat.com> Warn when using backward headers. * include/backward/algo.h: Include warning file. * include/backward/vector.h: Same. * include/backward/tree.h: Same. * include/backward/tempbuf.h: Same. * include/backward/strstream: Same. * include/backward/streambuf.h: Same. * include/backward/stream.h: Same. * include/backward/stack.h: Same. * include/backward/slist.h: Same. * include/backward/set.h: Same. * include/backward/rope.h: * include/backward/queue.h: Same. * include/backward/pair.h: Same. * include/backward/ostream.h: Same. * include/backward/new.h: Same. * include/backward/multiset.h: Same. * include/backward/multimap.h: Same. * include/backward/map.h: Same. * include/backward/list.h: Same. * include/backward/iterator.h: Same. * include/backward/istream.h: Same. * include/backward/iostream.h: * include/backward/iomanip.h: * include/backward/heap.h: Same. * include/backward/hashtable.h: * include/backward/hash_set.h: * include/backward/hash_map.h: * include/backward/function.h: * include/backward/fstream.h: * include/backward/deque.h: * include/backward/defalloc.h: Same. * include/backward/complex.h: Same. * include/backward/bvector.h: * include/backward/alloc.h: * include/backward/algobase.h: Same. * include/backward/backward_warning.h: New file. * src/Makefile.am (backward_headers): Add backward_warning.h * src/Makefile.in: Regenerate. 2001-04-05 Benjamin Kosnik <bkoz@redhat.com> * src/Makefile.am (myinstalldirs): Make sure backward directory is created. (myinstallheaders): Install backward headers in backward directory. * src/Makefile.in: Regenerate. From-SVN: r41139
99 lines
2.8 KiB
C++
99 lines
2.8 KiB
C++
/*
|
|
*
|
|
* 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
|
|
|
|
#include "backward_warning.h"
|
|
#include <bits/c++config.h>
|
|
#include <stddef.h>
|
|
#include <bits/stl_function.h>
|
|
|
|
// Names from stl_function.h
|
|
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;
|
|
|
|
#endif /* _CPP_BACKWARD_FUNCTION_H */
|
|
|
|
// Local Variables:
|
|
// mode:C++
|
|
// End:
|