Boost logo

Boost :

Subject: Re: [boost] Can we suppress integer_traits warnings?
From: John Maddock (john_at_[hidden])
Date: 2009-10-26 13:15:50


> Have you considered computing the values at compile time instead of
> using constants?

Sigh... that's the last ditch solution I guess, we could certainly do that
for the usual case that long long is a 64-bit int, but really we *should* be
using limits.h for these constants IMO. Besides, as it's someone else's
code/library really, I'd really rather apply a trivial/quick fix if I can!

John.


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