1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186
| #include<algorithm>
all_of(first, last, predicate); any_of(first, last, predicate); none_of(first, last, perdicate);
for_each(first, last, function); for_each_n(first, n, function);
count(first, last, value); count_if(first, last, predicate);
mismatch(first1, last1, first2);
mismatch(first1, last1, first2, last2);
mismatch(first1, last1, first2, predicate);
mismatch(first1, last1, first2, last2, predicate);
find(first, last, value); find_if(first, last, predicate); find_if_not(first, last, predicate);
find_end(first1, last1, first2, last2);
find_end(first1, last1, first2, last2, predicate);
find_first_of(first1, last1, first2, last2);
find_first_of(first1, last1, first2, last2, predicate);
adjacent_find(first, last);
adjacent_find(first, last, predicate);
search(first1, last1, first2, last2);
search(first1, last1, first2, last2, predicate);
search_n(first, last, n, value);
search_n(first, last, n, value, prediacate);
copy(first1, last1, first2);
copy_if(first1, last1, first2, predicate);
copy_n(first1, n, first2);
copy_backward(first1, last1, last2);
fill(first, last, value); fill_n(first, n, value);
transform(first1, last1, first2, unaryFunction);
transform(first1, last1, first2, output, binaryFunction);
generate(first, last, function);
generate_n(first, n, function);
remove(first, last, value);
remove_if(first, last, predicate);
remove_copy(first1, last1, first2, value);
remove_copy_if(first1, last1, first2, predicate);
replace(first, last, oldValue, newValue);
replace_if(first, last, predicate, newValue);
replace_copy(first1, last1, first2, oldValue, newValue);
replace_copy_if(first1, last1, first2, predicate newValue);
swap(x, y); swap_ranges(first1, last1, first2); iter_swap(first, second);
reverse(first, last);
reverse_copy(first1, last1, first2);
rotate(first1, first2, last1);
rotate_copy(first1, first2, last1, output);
unique(first, last);
unique(first, last, predicate);
unique_copy(first1, last1, first2);
unique_copy(first1, last1, first2, predicate);
next_permutation(first, last);
prev_permutation(first, last);
is_partitioned(first, last, predicate);
partition(first, last, predicate);
partition_copy(first1, last1, first2, first3, predicate);
stable_partition(first, last, predicate);
partition_point(first, last, predicate);
is_sorted(first, last); is_sorted(first, last, comparator); is_sorted_until(first, last); is_sorted_until(first, last, comparator);
sort(first, last); sort(first, last, comparator); stable_sort(first, last); stable_sort(first, last, comparator);
partial_sort(first, middle, last);
partial_sort(first, middle, last, comparator);
partial_sort_copy(first1, last1, first2, last2);
lower_bound(first, last, value);
upper_bound(first, last, value);
binary_search(first, last, value);
merge(first1, last1, first2, last2, output);
includes(first1, last1, first2, last2);
set_difference(first1, last1, first2, last2, output);
set_intersection(first1, last1, first2, last2, output);
set_union(first1, last1, first2, last2, output);
max(x, y); max_element(first, last); min(x, y); min_element(first, last); minmax_element(first, last); _gcd(x, y); accumulate(first, last, val);
equal(first1, last1, first2);
equal(first1, last1, first2, last2);
equal(first1, last1, first2, predicate);
equal(first1, last1, first2, last2, predicate);
lexicographical_compare(first1, last1, first2, last2);
|