Boost logo

Boost :

From: Daryle Walker (darylew_at_[hidden])
Date: 2006-07-29 06:00:30


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

[SNIP recap]
> BOOST_MIN() and BOOST_MAX() now live in minmax_macro.zip at:
>
> http://boost-consulting.com/vault/index.php?directory=Algorithms
>
> and also in boost-sandbox CVS at boost/algorithm/minmax_macro.hpp. It's
> been tested with gcc 3.x and msvc 7.1, and I took a stab at a version
> for Comeau, but which is currently untested.
>
> This code pokes into C++'s dark, dusty corners, and no two compilers
> seem to agree, so any feedback/workarounds for other compilers is much
> appreciated.

Works on XCode 2.3 (Mac OS X 10.4.7 on PowerPC, using special GCC 4.0.1).

> Thanks go to Howard Hinnant for feedback and test cases.

-- 
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