Boost logo

Boost :

Subject: [boost] [graph] MAXINT problem
From: Janek Kozicki (janek_listy_at_[hidden])
Date: 2008-09-24 04:57:49


I just noticed that in file

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, gregod at, cpdaniel at, john at