|
Boost : |
From: Paul A Bristow (pbristow_at_[hidden])
Date: 2006-06-30 08:58:49
| -----Original Message-----
| From: boost-bounces_at_[hidden]
| [mailto:boost-bounces_at_[hidden]] On Behalf Of Gennaro Prota
| Sent: 30 June 2006 12:37
| To: boost_at_[hidden]
| Subject: Re: [boost] Supressing warnings
|
| 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?)
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_at_[hidden]
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk