00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027 #ifndef __SGI_STL_ALGO_H
00028 #define __SGI_STL_ALGO_H
00029
00030 #include <algobase.h>
00031 #include <tempbuf.h>
00032 #include <stl_algo.h>
00033 #include <stl_numeric.h>
00034
00035 #ifdef __STL_USE_NAMESPACES
00036
00037
00038 using __STD::for_each;
00039 using __STD::find;
00040 using __STD::find_if;
00041 using __STD::adjacent_find;
00042 using __STD::count;
00043 using __STD::count_if;
00044 using __STD::search;
00045 using __STD::search_n;
00046 using __STD::swap_ranges;
00047 using __STD::transform;
00048 using __STD::replace;
00049 using __STD::replace_if;
00050 using __STD::replace_copy;
00051 using __STD::replace_copy_if;
00052 using __STD::generate;
00053 using __STD::generate_n;
00054 using __STD::remove;
00055 using __STD::remove_if;
00056 using __STD::remove_copy;
00057 using __STD::remove_copy_if;
00058 using __STD::unique;
00059 using __STD::unique_copy;
00060 using __STD::reverse;
00061 using __STD::reverse_copy;
00062 using __STD::rotate;
00063 using __STD::rotate_copy;
00064 using __STD::random_shuffle;
00065 using __STD::random_sample;
00066 using __STD::random_sample_n;
00067 using __STD::partition;
00068 using __STD::stable_partition;
00069 using __STD::sort;
00070 using __STD::stable_sort;
00071 using __STD::partial_sort;
00072 using __STD::partial_sort_copy;
00073 using __STD::nth_element;
00074 using __STD::lower_bound;
00075 using __STD::upper_bound;
00076 using __STD::equal_range;
00077 using __STD::binary_search;
00078 using __STD::merge;
00079 using __STD::inplace_merge;
00080 using __STD::includes;
00081 using __STD::set_union;
00082 using __STD::set_intersection;
00083 using __STD::set_difference;
00084 using __STD::set_symmetric_difference;
00085 using __STD::min_element;
00086 using __STD::max_element;
00087 using __STD::next_permutation;
00088 using __STD::prev_permutation;
00089 using __STD::find_first_of;
00090 using __STD::find_end;
00091 using __STD::is_sorted;
00092 using __STD::is_heap;
00093
00094
00095 using __STD::push_heap;
00096 using __STD::pop_heap;
00097 using __STD::make_heap;
00098 using __STD::sort_heap;
00099
00100
00101 using __STD::accumulate;
00102 using __STD::inner_product;
00103 using __STD::partial_sum;
00104 using __STD::adjacent_difference;
00105 using __STD::power;
00106 using __STD::iota;
00107
00108 #endif
00109
00110 #endif
00111
00112
00113
00114