Boost logo

Boost :

From: Daryle Walker (darylew_at_[hidden])
Date: 2006-07-18 18:23:44


On 7/10/06 1:24 PM, "Eric Niebler" <eric_at_[hidden]> wrote:

[SNIP problem of making a macro like MAX(a, b) == ((a)<(b)?(b):(a)) except
that it evaluates its arguments only once, but still works on arguments of
different types and maintains the arguments' const and l/r-value states.]
> Is there interest in turning this into a BOOST_MIN/BOOST_MAX library?
[TRUNCATE the actual code]

Yes, please.

-- 
Daryle Walker
Mac, Internet, and Video Game Junkie
darylew AT hotmail DOT com

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