Hi, 

Since I upgraded to gcc 4.8 I can no longer use as_to_python_function<T, C> 
with T being a type that's abstract (i.e. has >= 1 pure virtual method). This 
is because in gcc 4.8 the following:

    template <class U>
    static void convert_function_must_take_value_or_const_reference(U(*)(T), 
int, T* = 0) {}

fails to compile since T is not constructible. 

Is this a known issue? Is there interest in a fix for this or are there are 
better ways to be constructing conversion functions in a typesafe manner in 
Boost.Python? 

Kind regards, 

Andy

_______________________________________________
Cplusplus-sig mailing list
Cplusplus-sig@python.org
https://mail.python.org/mailman/listinfo/cplusplus-sig

Reply via email to