Boost logo

Boost Users :

From: hicks (hicks_at_[hidden])
Date: 2002-02-11 07:17:27


I must apologize as that was not my intention.

Jonathan Brownell wrote:

>>(1)
>>For all cases where an STL predicate "pred" will suffice, e.g. your
>>example using std::greater<>,
>>is there any case where
>> std::max_element(b, e, pred)
>>would not also perform the job?
>>
>
>Not that I can see. The max_element/min_element STL functions have
>somehow slipped my knowledge thus far, and I feel like a complete chump
>now in duplicating their functionality. Thanks for pointing out the
>obvious, and I'll go crawl back in my hole.
>
>-Jonathan
>
>
>
>Info: <http://www.boost.org>
>Wiki: <http://www.crystalclearsoftware.com/cgi-bin/boost_wiki/wiki.pl>
>Unsubscribe: <mailto:boost-users-unsubscribe_at_[hidden]>
>
>
>Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>
>
>

[Non-text portions of this message have been removed]


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net