[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: numeric limits patch
On Mon, May 10, 2004 at 04:34:58PM +0200, Matteo Boccafoli wrote:
> * Dave Symonds <firstname.lastname@example.org> [100504, 11:34]:
> > That patch looks fine; I'm just worred about using std::numeric_limits<int>.
> > I'm sure it's in the standard, but is it actually widely spread?
> with g++-2.95 std::numeric_limits don't works :_(,
> but in 3.x relase it works fine.
> Do You use other compiler?
I need to keep in mind that many people wanting to use GraphThing who are
comfortable compiling it might still be using g++ 2.95 (or maybe earlier!).
The arbitrary numbers I use in the code are big enough for any practical graph
that could foreseeably be used in GraphThing.