1/* 2 * 3 * Copyright (c) 1994 4 * Hewlett-Packard Company 5 * 6 * Permission to use, copy, modify, distribute and sell this software 7 * and its documentation for any purpose is hereby granted without fee, 8 * provided that the above copyright notice appear in all copies and 9 * that both that copyright notice and this permission notice appear 10 * in supporting documentation. Hewlett-Packard Company makes no 11 * representations about the suitability of this software for any 12 * purpose. It is provided "as is" without express or implied warranty. 13 * 14 * 15 * Copyright (c) 1996,1997 16 * Silicon Graphics Computer Systems, Inc. 17 * 18 * Permission to use, copy, modify, distribute and sell this software 19 * and its documentation for any purpose is hereby granted without fee, 20 * provided that the above copyright notice appear in all copies and 21 * that both that copyright notice and this permission notice appear 22 * in supporting documentation. Silicon Graphics makes no 23 * representations about the suitability of this software for any 24 * purpose. It is provided "as is" without express or implied warranty. 25 */ 26 27#ifndef __SGI_STL_ALGO_H 28#define __SGI_STL_ALGO_H 29 30#include <algobase.h> 31#include <tempbuf.h> 32#include <stl_algo.h> 33#include <stl_numeric.h> 34 35#ifdef __STL_USE_NAMESPACES 36 37// Names from <stl_algo.h> 38using __STD::for_each; 39using __STD::find; 40using __STD::find_if; 41using __STD::adjacent_find; 42using __STD::count; 43using __STD::count_if; 44using __STD::search; 45using __STD::search_n; 46using __STD::swap_ranges; 47using __STD::transform; 48using __STD::replace; 49using __STD::replace_if; 50using __STD::replace_copy; 51using __STD::replace_copy_if; 52using __STD::generate; 53using __STD::generate_n; 54using __STD::remove; 55using __STD::remove_if; 56using __STD::remove_copy; 57using __STD::remove_copy_if; 58using __STD::unique; 59using __STD::unique_copy; 60using __STD::reverse; 61using __STD::reverse_copy; 62using __STD::rotate; 63using __STD::rotate_copy; 64using __STD::random_shuffle; 65using __STD::random_sample; 66using __STD::random_sample_n; 67using __STD::partition; 68using __STD::stable_partition; 69using __STD::sort; 70using __STD::stable_sort; 71using __STD::partial_sort; 72using __STD::partial_sort_copy; 73using __STD::nth_element; 74using __STD::lower_bound; 75using __STD::upper_bound; 76using __STD::equal_range; 77using __STD::binary_search; 78using __STD::merge; 79using __STD::inplace_merge; 80using __STD::includes; 81using __STD::set_union; 82using __STD::set_intersection; 83using __STD::set_difference; 84using __STD::set_symmetric_difference; 85using __STD::min_element; 86using __STD::max_element; 87using __STD::next_permutation; 88using __STD::prev_permutation; 89using __STD::find_first_of; 90using __STD::find_end; 91using __STD::is_sorted; 92using __STD::is_heap; 93 94// Names from stl_heap.h 95using __STD::push_heap; 96using __STD::pop_heap; 97using __STD::make_heap; 98using __STD::sort_heap; 99 100// Names from <stl_numeric.h> 101using __STD::accumulate; 102using __STD::inner_product; 103using __STD::partial_sum; 104using __STD::adjacent_difference; 105using __STD::power; 106using __STD::iota; 107 108#endif /* __STL_USE_NAMESPACES */ 109 110#endif /* __SGI_STL_ALGO_H */ 111 112// Local Variables: 113// mode:C++ 114// End: 115