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

Used BOOST_WORKAROUND

[SVN r19980]
This commit is contained in:
Joel de Guzman
2003-09-09 13:13:44 +00:00
parent ae7225ae83
commit 50db384be1

View File

@@ -126,10 +126,10 @@ 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
#if BOOST_WORKAROUND(BOOST_MSVC, == 1200)
struct return_policy : return_internal_reference<> {};
#else
typedef return_internal_reference<> return_policy;
#endif
typedef typename mpl::if_<