From 5f8ddc18337be638fb01956c5975567fe28be17c Mon Sep 17 00:00:00 2001 From: Aleksey Gurtovoy Date: Sat, 14 Sep 2002 00:57:18 +0000 Subject: [PATCH] MSVC ETI-related fix [SVN r15315] --- include/boost/python/object/make_holder.hpp | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/include/boost/python/object/make_holder.hpp b/include/boost/python/object/make_holder.hpp index 66211abf..2a9e4e58 100644 --- a/include/boost/python/object/make_holder.hpp +++ b/include/boost/python/object/make_holder.hpp @@ -30,13 +30,6 @@ namespace boost { namespace python { namespace objects { template struct make_holder; -// Temporary workaround for vc6 bug. Hopefully Aleksey will work -// around it in the MPL source somehow... is this an example of ETI? -template struct delay -{ - typedef typename T::type type; -}; - # define BOOST_PYTHON_FORWARD_ARG(z, index, _) \ typedef typename iter##index::type t##index; \ typedef typename forward::type f##index; \ @@ -67,7 +60,7 @@ struct make_holder template struct apply { - typedef typename delay >::type iter0; + typedef typename mpl::begin::type iter0; BOOST_PP_REPEAT_1ST(N, BOOST_PYTHON_FORWARD_ARG, nil) static void execute( PyObject* p