Boost logo

Boost :

From: Herve Bronnimann (hbr_at_[hidden])
Date: 2002-07-22 10:17:37


Dear review wizard: I'd like to request a formal review of the minmax
library that's been sitting in the sandbox for a little while now.
Please contact me to arrange a schedule.

The minmax library is a simple extension of the STL, with minmax(a,b)
and minmax_element(first,last) and their binarypredicate extensions,
just as in the C++ standard. It turns out that computing both
min_element and max_element can be done in a single pass, using 3n/2
comparisons. In terms of timing, it's just about as fast to get
minmax_element as just min_element or max_element. Hence the natural
interest (in graphics, bounding boxes, etc.)

This should be a simple library with a limited and precise extent, and
(I hope) no major problems (except perhaps in the documentation, which I
feel I need to revise before the review --- I'm mentioning just in case
you're looking at it now :)
Thanks,

-- 
Hervé

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