Boost logo

Boost :

Subject: Re: [boost] [graph] MAXINT problem
From: Janek Kozicki (janek_listy_at_[hidden])
Date: 2008-09-24 11:41:08


Brandon Kohn said: (by the date of Wed, 24 Sep 2008 08:16:05 -0500)

> Hello :-)
>
> Not to be coy, but I would suggest using:
>
> #include <limits>
> ...
> (std::numeric_limits<int>::max)();
>
> Cheers,

or that.

Should I file a bug report?

-- 
Janek Kozicki                                                         |

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