|
Boost : |
Subject: [boost] [graph] MAXINT problem
From: Janek Kozicki (janek_listy_at_[hidden])
Date: 2008-09-24 04:57:49
Hi,
I just noticed that in file
http://svn.boost.org/svn/boost/trunk/boost/graph/sloan_ordering.hpp
there is this line:
#define MAXINT 2147483647
I'm afraid that it can conflict with MAXINT defined elsewhere. Or at
least cause some confusion between MAXINT and INT_MAX from <limits.h>
Wouldn't it be better to just #include <limits.h> and use INT_MAX defined there?
-- Janek Kozicki |
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk