From bc30ed2002cce1447baa79ab4fa811142f6f46bf Mon Sep 17 00:00:00 2001 From: Aleksey Gurtovoy Date: Mon, 7 Jul 2003 06:42:25 +0000 Subject: [PATCH] ETI fix [SVN r18953] --- include/boost/mpl/aux_/clear_impl.hpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/include/boost/mpl/aux_/clear_impl.hpp b/include/boost/mpl/aux_/clear_impl.hpp index b77293a..69ef78e 100644 --- a/include/boost/mpl/aux_/clear_impl.hpp +++ b/include/boost/mpl/aux_/clear_impl.hpp @@ -19,6 +19,7 @@ #include "boost/mpl/clear_fwd.hpp" #include "boost/mpl/aux_/traits_lambda_spec.hpp" +#include "boost/mpl/aux_/config/eti.hpp" namespace boost { namespace mpl { @@ -31,6 +32,17 @@ struct clear_traits template< typename Sequence > struct algorithm; }; +#if defined(BOOST_MPL_MSVC_60_ETI_BUG) +template<> +struct clear_traits +{ + template< typename Sequence > struct algorithm + { + typedef int type; + }; +}; +#endif + BOOST_MPL_ALGORITM_TRAITS_LAMBDA_SPEC(1,clear_traits) } // namespace mpl