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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user