MSVC2005/icc10.1 boost::date_time std::max 1.34.1

hello,
#include <iostream>
#include <algorithm>
int main()
{
const double d = std::max(5.0, 6.0);
return 0;
}
This works fine. <algorithm> is supposed to be included to use the max algorithm.
<algorithm> comes with VisualC++ headers, which intel uses.
The strange thing is that when adding
#include
participants (3)
-
Hicham Mouline
-
Jeff Foster
-
Steven Watanabe