Boost logo

Boost :

From: Aleksey Gurtovoy (agurtovoy_at_[hidden])
Date: 2004-09-21 10:09:35

David Abrahams writes:
> The introduction of mpl::numeric_cast has caused a regression in
> libs\python\test\vector_indexing_suite.cpp for vc6. How shall we
> resolve this problem?

Resolved in the CVS:

+#include <boost/mpl/aux_/config/msvc.hpp>
+#include <boost/mpl/aux_/config/workaround.hpp>
+// agurt 21/sep/04: portability macro for the sake of MSVC 6.x-7.0;
+// resolves conflicts with 'boost::numeric_cast' function template.
+// use it in your own code _only_ if you care about compatibility with
+// these outdated compilers!
+# define BOOST_MPL_AUX_NUMERIC_CAST numeric_cast_
+# define BOOST_MPL_AUX_NUMERIC_CAST numeric_cast

... only to find that it was masking an ICE. I'll have to look at it
later today.

Aleksey Gurtovoy
MetaCommunications Engineering

Boost list run by bdawes at, gregod at, cpdaniel at, john at