We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ae7225a commit 50db384Copy full SHA for 50db384
include/boost/python/suite/indexing/indexing_suite.hpp
@@ -126,10 +126,10 @@ namespace boost { namespace python {
126
typedef detail::container_element<Container, Index, DerivedPolicies>
127
container_element_t;
128
129
-#if !defined(BOOST_MSVC) || (BOOST_MSVC > 1200)
130
- typedef return_internal_reference<> return_policy;
131
-#else
+#if BOOST_WORKAROUND(BOOST_MSVC, == 1200)
132
struct return_policy : return_internal_reference<> {};
+#else
+ typedef return_internal_reference<> return_policy;
133
#endif
134
135
typedef typename mpl::if_<
0 commit comments