mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-23 14:30:01 +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
113 lines
3.0 KiB
C++
113 lines
3.0 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_ALGO_H
|
|
#define _CPP_BACKWARD_ALGO_H 1
|
|
|
|
#include "backward_warning.h"
|
|
#include "algobase.h"
|
|
#include "tempbuf.h"
|
|
#include "iterator.h"
|
|
#include <bits/stl_algo.h>
|
|
#include <bits/stl_numeric.h>
|
|
|
|
// Names from <stl_algo.h>
|
|
using std::for_each;
|
|
using std::find;
|
|
using std::find_if;
|
|
using std::adjacent_find;
|
|
using std::count;
|
|
using std::count_if;
|
|
using std::search;
|
|
using std::search_n;
|
|
using std::swap_ranges;
|
|
using std::transform;
|
|
using std::replace;
|
|
using std::replace_if;
|
|
using std::replace_copy;
|
|
using std::replace_copy_if;
|
|
using std::generate;
|
|
using std::generate_n;
|
|
using std::remove;
|
|
using std::remove_if;
|
|
using std::remove_copy;
|
|
using std::remove_copy_if;
|
|
using std::unique;
|
|
using std::unique_copy;
|
|
using std::reverse;
|
|
using std::reverse_copy;
|
|
using std::rotate;
|
|
using std::rotate_copy;
|
|
using std::random_shuffle;
|
|
using std::random_sample;
|
|
using std::random_sample_n;
|
|
using std::partition;
|
|
using std::stable_partition;
|
|
using std::sort;
|
|
using std::stable_sort;
|
|
using std::partial_sort;
|
|
using std::partial_sort_copy;
|
|
using std::nth_element;
|
|
using std::lower_bound;
|
|
using std::upper_bound;
|
|
using std::equal_range;
|
|
using std::binary_search;
|
|
using std::merge;
|
|
using std::inplace_merge;
|
|
using std::includes;
|
|
using std::set_union;
|
|
using std::set_intersection;
|
|
using std::set_difference;
|
|
using std::set_symmetric_difference;
|
|
using std::min_element;
|
|
using std::max_element;
|
|
using std::next_permutation;
|
|
using std::prev_permutation;
|
|
using std::find_first_of;
|
|
using std::find_end;
|
|
using std::is_sorted;
|
|
using std::is_heap;
|
|
|
|
// Names from stl_heap.h
|
|
using std::push_heap;
|
|
using std::pop_heap;
|
|
using std::make_heap;
|
|
using std::sort_heap;
|
|
|
|
// Names from stl_numeric.h
|
|
using std::accumulate;
|
|
using std::inner_product;
|
|
using std::partial_sum;
|
|
using std::adjacent_difference;
|
|
using std::power;
|
|
using std::iota;
|
|
|
|
#endif /* _CPP_BACKWARD_ALGO_H */
|
|
|
|
// Local Variables:
|
|
// mode:C++
|
|
// End:
|