algorithm File Reference

#include <algorithm>

Include dependency graph for ext/algorithm:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

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)


Detailed Description

This file is a GNU extension to the Standard C++ Library (possibly containing extensions from the HP/SGI STL subset). You should only include this header if you are using GCC 3 or later.

Definition in file ext/algorithm.


Generated on Wed Aug 4 21:43:23 2004 for libstdc++-v3 Source by doxygen 1.3.8