2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-20 16:52:15 +00:00

mscv workaround

[SVN r19962]
This commit is contained in:
Joel de Guzman
2003-09-08 12:56:33 +00:00
parent 00e3fa32fb
commit 034ca4d5eb

View File

@@ -126,10 +126,16 @@ namespace boost { namespace python {
typedef detail::container_element<Container, Index, DerivedPolicies>
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<Container>
, iterator<Container, return_internal_reference<> > >::type
, iterator<Container, return_policy> >::type
def_iterator;
typedef typename mpl::if_<