4 * Hewlett-Packard Company
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.
15 * Copyright (c) 1996,1997
16 * Silicon Graphics Computer Systems, Inc.
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.
27 #ifndef _CPP_BACKWARD_ALGO_H
28 #define _CPP_BACKWARD_ALGO_H 1
32 #include <bits/stl_algo.h>
33 #include <bits/stl_numeric.h>
35 #ifdef __STL_USE_NAMESPACES
37 // Names from <stl_algo.h>
38 using __STD::for_each;
41 using __STD::adjacent_find;
43 using __STD::count_if;
45 using __STD::search_n;
46 using __STD::swap_ranges;
47 using __STD::transform;
49 using __STD::replace_if;
50 using __STD::replace_copy;
51 using __STD::replace_copy_if;
52 using __STD::generate;
53 using __STD::generate_n;
55 using __STD::remove_if;
56 using __STD::remove_copy;
57 using __STD::remove_copy_if;
59 using __STD::unique_copy;
61 using __STD::reverse_copy;
63 using __STD::rotate_copy;
64 using __STD::random_shuffle;
65 using __STD::random_sample;
66 using __STD::random_sample_n;
67 using __STD::partition;
68 using __STD::stable_partition;
70 using __STD::stable_sort;
71 using __STD::partial_sort;
72 using __STD::partial_sort_copy;
73 using __STD::nth_element;
74 using __STD::lower_bound;
75 using __STD::upper_bound;
76 using __STD::equal_range;
77 using __STD::binary_search;
79 using __STD::inplace_merge;
80 using __STD::includes;
81 using __STD::set_union;
82 using __STD::set_intersection;
83 using __STD::set_difference;
84 using __STD::set_symmetric_difference;
85 using __STD::min_element;
86 using __STD::max_element;
87 using __STD::next_permutation;
88 using __STD::prev_permutation;
89 using __STD::find_first_of;
90 using __STD::find_end;
91 using __STD::is_sorted;
94 // Names from stl_heap.h
95 using __STD::push_heap;
96 using __STD::pop_heap;
97 using __STD::make_heap;
98 using __STD::sort_heap;
100 // Names from stl_numeric.h
101 using __STD::accumulate;
102 using __STD::inner_product;
103 using __STD::partial_sum;
104 using __STD::adjacent_difference;
108 #endif /* __STL_USE_NAMESPACES */
110 #endif /* _CPP_BACKWARD_ALGO_H */