Boost logo

Boost :

From: Yuriy Koblents-Mishke (yurakm_at_[hidden])
Date: 2007-03-19 15:16:18


On 3/19/07, Lewis Hyatt <lhyatt_at_[hidden]> wrote:
>
> [snip]
> > * return the n highest/lowest only. (optimized, ie: not full sort and
> > then cutting solution)
>
> std::partial_sort
> [snip]

std::nth_element?


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk