> try changing line 37 of make_ptr_instance.hpp from: > PyTypeObject* derived = get_derived_class_object(is_polymorphic<U>::type(), p); > to > PyTypeObject* derived = get_derived_class_object(typename is_polymorphic<U>::type(), p); > and let me know. It works! Thanks a lot! Ciao, Giulio