How can I use the remove function from <algorithm>?  (Or any other operation, I want to use this with vectors, I tried to cdef extern to declare it, but there is no template function yet, I think)
Cython can only reasonably link against compiled code in some external library following the C calling conventions.  To use template functions, you'll have to write an extern "C" wrapper function that uses a specific incarnation of the algorithm (i.e. you have to fix the template parameters).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With