Boost logo

Boost :

From: Gennaro Prota (gennaro_prota_at_[hidden])
Date: 2006-06-24 10:47:07


On Sat, 24 Jun 2006 14:33:35 +0100, "Paul A Bristow"
<pbristow_at_[hidden]> wrote:

>How do I avoid min/max macro problems when writing, for example,
>
> return numeric_limits<double>::max(); ?
>
>(numeric_limits<double>)::max(); ???

return (numeric_limits<double>::max)();

--Gennaro.


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