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

VC8 beta workaround

[SVN r28944]
This commit is contained in:
Dave Abrahams
2005-05-16 01:57:30 +00:00
parent 3ce88daa8b
commit c876db8cae

View File

@@ -46,6 +46,15 @@ namespace detail
return converter(m_obj.release());
}
# if BOOST_WORKAROUND(_MSC_FULL_VER, BOOST_TESTED_AT(140050215))
template <class T>
operator T*()
{
converter::return_from_python<T*> converter;
return converter(m_obj.release());
}
# endif
# if !defined(BOOST_MSVC) || BOOST_WORKAROUND(_MSC_FULL_VER, > 140040607)
template <class T>
operator T&() const