Check for template before looking for unique_ptr
To prevent a non-template class from throwing an error, check that the base_type is a template before trying to split it.
AutoPyBind11 Issue: 178
To prevent a non-template class from throwing an error, check that the base_type is a template before trying to split it.
AutoPyBind11 Issue: 178