Boost logo

Boost Users :

From: Scott Moore (scott.moore_at_[hidden])
Date: 2005-01-19 10:17:29

I just switched from boost 1.31 to 1.32 and now any code that uses
std::min() or std::max() gives me this error with Visual Studio 2003:

ReportResults.cpp(791) : error C2589: '(' : illegal token on right side of
ReportResults.cpp(791) : error C2059: syntax error : '::'

I even tried something simple like this:

int i = std::min(1, 2);

And that fails as well.

If I switch back to boost 1.31, no problems. I'm sure there must be a
simple solution. Any help would be appreciated!


Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at