In-Reply-To: <bsq7jd$ruf$1@[...].org>
eric@[...].com (Eric Niebler) wrote (abridged):
> 2003\Vc7\atlmfc\include\afxtempl.h(398) : error C2668: 'std::max' : > ambiguous call to overloaded function
Does adding:
#include <algorithm>
before boost/utility help? I don't currently have access to my system to
be sure, but I came across a similar issue and I think I decided boost had
defined just two overloads of max without defining the general template.
Adding the generic max template seemed to satisfy MFC. (I don't recall if
I needed a using-declaration.)
-- Dave Harris, Nottingham, UK
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost