Hi,
I came across the following bug, while trying to implement iterator
versions of std::string members, for which a simple reproducer is below.
If the return type of a function is a normal type, then everything is
fine, but if it's a pointer or reference type, then Cython refuses to
compile it.
Could something please be done about that? Many thanks!
Error compiling Cython file:
------------------------------------------------------------
...
cdef extern from * nogil:
cdef cppclass test:
void assign[input_iterator](input_iterator, input_iterator)
char assign[input_iterator](input_iterator, input_iterator)
char* assign[input_iterator](input_iterator, input_iterator)
char& assign[input_iterator](input_iterator, input_iterator)
^
------------------------------------------------------------
notatype.pyx:6:35: Template parameter not a type
--
Sincerely yours,
Yury V. Zaytsev
_______________________________________________
cython-devel mailing list
cython-devel@python.org
https://mail.python.org/mailman/listinfo/cython-devel