Boost logo

Boost :

Subject: Re: [boost] [graph] MAXINT problem
From: Andrew Sutton (asutton_at_[hidden])
Date: 2008-09-25 07:26:35


>> 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?

Yes. Filing a ticket would probably be a good idea just to make sure
that the problem is documented (even though the solution is trivial).

Andrew Sutton
asutton_at_[hidden]


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