From 034ca4d5eba8a6e5c33f64211598da2d48993d55 Mon Sep 17 00:00:00 2001 From: Joel de Guzman Date: Mon, 8 Sep 2003 12:56:33 +0000 Subject: [PATCH] mscv workaround [SVN r19962] --- include/boost/python/suite/indexing/indexing_suite.hpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/include/boost/python/suite/indexing/indexing_suite.hpp b/include/boost/python/suite/indexing/indexing_suite.hpp index 5fd8af22..c9cc922b 100644 --- a/include/boost/python/suite/indexing/indexing_suite.hpp +++ b/include/boost/python/suite/indexing/indexing_suite.hpp @@ -126,10 +126,16 @@ namespace boost { namespace python { typedef detail::container_element container_element_t; +#if !defined(BOOST_MSVC) || (BOOST_MSVC > 1200) + typedef return_internal_reference<> return_policy; +#else + struct return_policy : return_internal_reference<> {}; +#endif + typedef typename mpl::if_< no_proxy , iterator - , iterator > >::type + , iterator >::type def_iterator; typedef typename mpl::if_<