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

Workaround msvc bug

[SVN r19553]
This commit is contained in:
Dave Abrahams
2003-08-12 14:17:52 +00:00
parent 5008dcbdd4
commit 054dc439d2

View File

@@ -113,10 +113,10 @@ namespace detail
// wrapped.
//
template <class T>
inline void register_wrapper_class(T*, T*, int) {}
inline void register_wrapper_class_impl(T*, T*, int) {}
template <class Wrapper, class T>
inline void register_wrapper_class(Wrapper*, T*, ...)
inline void register_wrapper_class_impl(Wrapper*, T*, ...)
{
objects::register_class_from_python<Wrapper, mpl::vector1<T> >();
objects::copy_class_object(type_id<T>(), type_id<Wrapper>());
@@ -125,7 +125,7 @@ namespace detail
template <class Held, class T>
inline void register_wrapper_class(Held* = 0, T* = 0)
{
register_wrapper_class((Held*)0, (T*)0, 0);
register_wrapper_class_impl((Held*)0, (T*)0, 0);
}
# ifdef BOOST_PYTHON_NO_MEMBER_POINTER_ORDERING