mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-31 00:55:06 +08:00
bb84e66919
* Makefile.in (install): Some of HEADERS come from the stl dir now. * algorithm, deque, functional, iterator, list, map, memory, numeric, queue, set, stack, utility, vector: Now in stl dir. stl/: * algo.h, algobase.h, alloc.h, bvector.h, defalloc.h, deque.h, function.h, hash_map.h, hash_set.h, hashtable.h, heap.h, iterator.h, list.h, map.h, multimap.h, multiset.h, pair.h, pthread_alloc.h, rope.h, ropeimpl.h, set.h, slist.h, stack.h, stl_config.h, tempbuf.h, tree.h, type_traits.h, vector.h: Update to October 27 SGI snapshot. * algorithm, deque, functional, hash_map, hash_set, iterator, list, map, memory, numeric, pthread_alloc, queue, rope, set, slist, stack, stl_algo.h, stl_algobase.h, stl_alloc.h, stl_bvector.h, stl_construct.h, stl_deque.h, stl_function.h, stl_hash_fun.h, stl_hash_map.h, stl_hash_set.h, stl_hashtable.h, stl_heap.h, stl_iterator.h, stl_list.h, stl_map.h, stl_multimap.h, stl_multiset.h, stl_numeric.h, stl_pair.h, stl_queue.h, stl_raw_storage_iter.h, stl_relops.h, stl_rope.h, stl_set.h, stl_slist.h, stl_stack.h, stl_tempbuf.h, stl_tree.h, stl_uninitialized.h, stl_vector.h, utility, vector: New files in October 27 SGI snapshot. From-SVN: r16277
115 lines
3.1 KiB
C
115 lines
3.1 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 __SGI_STL_ALGO_H
|
|
#define __SGI_STL_ALGO_H
|
|
|
|
#include <algobase.h>
|
|
#include <tempbuf.h>
|
|
#include <stl_algo.h>
|
|
#include <stl_numeric.h>
|
|
|
|
#ifdef __STL_USE_NAMESPACES
|
|
|
|
// 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 /* __STL_USE_NAMESPACES */
|
|
|
|
#endif /* __SGI_STL_ALGO_H */
|
|
|
|
// Local Variables:
|
|
// mode:C++
|
|
// End:
|