algo.h

00001 /*
00002  *
00003  * Copyright (c) 1994
00004  * Hewlett-Packard Company
00005  *
00006  * Permission to use, copy, modify, distribute and sell this software
00007  * and its documentation for any purpose is hereby granted without fee,
00008  * provided that the above copyright notice appear in all copies and
00009  * that both that copyright notice and this permission notice appear
00010  * in supporting documentation.  Hewlett-Packard Company makes no
00011  * representations about the suitability of this software for any
00012  * purpose.  It is provided "as is" without express or implied warranty.
00013  *
00014  *
00015  * Copyright (c) 1996,1997
00016  * Silicon Graphics Computer Systems, Inc.
00017  *
00018  * Permission to use, copy, modify, distribute and sell this software
00019  * and its documentation for any purpose is hereby granted without fee,
00020  * provided that the above copyright notice appear in all copies and
00021  * that both that copyright notice and this permission notice appear
00022  * in supporting documentation.  Silicon Graphics makes no
00023  * representations about the suitability of this software for any
00024  * purpose.  It is provided "as is" without express or implied warranty.
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 // Names from <stl_algo.h>
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 // Names from stl_heap.h
00095 using __STD::push_heap;
00096 using __STD::pop_heap;
00097 using __STD::make_heap;
00098 using __STD::sort_heap;
00099 
00100 // Names from <stl_numeric.h>
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 /* __STL_USE_NAMESPACES */
00109 
00110 #endif /* __SGI_STL_ALGO_H */
00111 
00112 // Local Variables:
00113 // mode:C++
00114 // End:

Generated on Mon Jun 5 10:20:43 2006 for Intelligence.kdevelop by  doxygen 1.4.6