|
Boost : |
From: David Abrahams (dave_at_[hidden])
Date: 2003-10-12 16:52:58
Ross MacGregor <ross__macgregor_at_[hidden]> writes:
> Paul, you are right. I should change the parameter names to (begin,
> shuffle_end, end). This matches the specification for partial sort and
I don't think so...
© ISO/IEC ISO/IEC 14882:1998(E)
25 Algorithms library 25 Algorithms library
// 25.3, sorting and related operations:
// 25.3.1, sorting:
template<class RandomAccessIterator>
void sort(RandomAccessIterator first, RandomAccessIterator last);
template<class RandomAccessIterator, class Compare>
void sort(RandomAccessIterator first, RandomAccessIterator last,
Compare comp);
template<class RandomAccessIterator>
void stable_sort(RandomAccessIterator first, RandomAccessIterator last);
template<class RandomAccessIterator, class Compare>
void stable_sort(RandomAccessIterator first, RandomAccessIterator last,
Compare comp);
template<class RandomAccessIterator>
void partial_sort(RandomAccessIterator first,
RandomAccessIterator middle,
RandomAccessIterator last);
template<class RandomAccessIterator, class Compare>
void partial_sort(RandomAccessIterator first,
RandomAccessIterator middle,
RandomAccessIterator last, Compare comp);
template<class InputIterator, class RandomAccessIterator>
RandomAccessIterator
-- Dave Abrahams Boost Consulting www.boost-consulting.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk