Boost logo

Boost :

From: Gennaro Prota (gennaro_prota_at_[hidden])
Date: 2006-06-30 07:36:41


On Fri, 30 Jun 2006 10:43:17 +0100, "Paul A Bristow"
<pbristow_at_[hidden]> wrote:

> [...]
>
>If I now write (a VERY common example)
>
> if(std::numeric_limits<T>::has_infinity)
> return std::numeric_limits<T>::infinity();
>
>It IS I believe a C++ language fault, that has_infinity doesn't work like a
>macro constant,

That is? (NOTE: perhaps I'm wrong but this seems a discussion for
c.l.c++.moderated --has it to do with boost?)

--Gennaro.


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