Function overloads don't mix with explicit template selection. #1584

robertwb opened this Issue Jan 18, 2017 · 0 comments


None yet

1 participant


E.g. for

cdef cppclass Foo:
    cdef T method[T](T)
    cdef pair[T, T] method[T](T, T)

the choice of overload is unambiguous based on the arguments, but writing foo.method[X](...) causes tries to resolve the type of foo.method[X] without looking at the arguments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment