
| -----Original Message----- | From: boost-bounces@lists.boost.org | [mailto:boost-bounces@lists.boost.org] On Behalf Of Gennaro Prota | Sent: 30 June 2006 12:37 | To: boost@lists.boost.org | Subject: Re: [boost] Supressing warnings | | On Fri, 30 Jun 2006 10:43:17 +0100, "Paul A Bristow" | <pbristow@hetp.u-net.com> 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?) Well I originally asked for recommendations on dealing with this problem for a _Boost__ proposal. But I don't see any clear answer, except what looks a hassle, so I will thank contributers for their advice, try and take it, and shut up ;-) Thanks. Paul --- Paul A Bristow Prizet Farmhouse, Kendal, Cumbria UK LA8 8AB +44 1539561830 & SMS, Mobile +44 7714 330204 & SMS pbristow@hetp.u-net.com