#include <algorithm>
Include dependency graph for ext/algorithm:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Namespaces | |
namespace | __gnu_cxx |
Functions | |
template<typename InputIter, typename Size, typename OutputIter> | |
pair< InputIter, OutputIter > | copy_n (InputIter first, Size count, OutputIter __result) |
Copies the range [first,first+count) into [result,result+count). | |
template<typename InputIter1, typename InputIter2> | |
int | lexicographical_compare_3way (InputIter1 first1, InputIter1 last1, InputIter2 first2, InputIter2 last2) |
memcmp on steroids. | |
template<typename ForwardIter, typename OutputIter, typename Distance> | |
OutputIter | random_sample_n (ForwardIter first, ForwardIter last, OutputIter out, const Distance n) |
template<typename ForwardIter, typename OutputIter, typename Distance, typename RandomNumberGenerator> | |
OutputIter | random_sample_n (ForwardIter first, ForwardIter last, OutputIter out, const Distance n, RandomNumberGenerator &__rand) |
template<typename InputIter, typename RandomAccessIter> | |
RandomAccessIter | random_sample (InputIter first, InputIter last, RandomAccessIter out_first, RandomAccessIter out_last) |
template<typename InputIter, typename RandomAccessIter, typename RandomNumberGenerator> | |
RandomAccessIter | random_sample (InputIter first, InputIter last, RandomAccessIter out_first, RandomAccessIter out_last, RandomNumberGenerator &__rand) |
template<typename RandomAccessIter> | |
bool | is_heap (RandomAccessIter first, RandomAccessIter last) |
template<typename RandomAccessIter, typename StrictWeakOrdering> | |
bool | is_heap (RandomAccessIter first, RandomAccessIter last, StrictWeakOrdering comp) |
template<typename ForwardIter> | |
bool | is_sorted (ForwardIter first, ForwardIter last) |
template<typename ForwardIter, typename StrictWeakOrdering> | |
bool | is_sorted (ForwardIter first, ForwardIter last, StrictWeakOrdering comp) |
Definition in file ext/algorithm.