Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

C++ compile error when using const in a template #1356

Open
robertwb opened this issue Jan 30, 2013 · 1 comment
Open

C++ compile error when using const in a template #1356

robertwb opened this issue Jan 30, 2013 · 1 comment

Comments

@robertwb
Copy link
Contributor

The following code successfully cythonizes using Cython 0.18, but the resulting C++ code fails to compile.

from libcpp.vector cimport vector

cdef class TestClass(object):
    cdef vector[char](const) v

Migrated from http://trac.cython.org/ticket/799

@robertwb
Copy link
Contributor Author

garrison changed cc to garrison
commented

@robertwb robertwb added this to the wishlist milestone Aug 16, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant