-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
WIP: Add C++11 array #472
base: master
Are you sure you want to change the base?
WIP: Add C++11 array #472
Conversation
While I'd love to see this work, I think there's a big problem. Currently(and AFAIK), Cython's compiler/code generator does not support non-type template parameters such as the size_t. |
I was also wondering about this issue of templates with non- |
Yes, pull request #426, but it is failing tests right now. |
Also, your tests will fail as written, even if the type could compile. You need to provide the size_t for the calls to begin, end, etc,. too, as each different size_t would be a different std::array. |
5a685ec
to
7e42f6a
Compare
By this, I am assuming you mean the type used to store these variables; not that the methods themselves needed to be templated in some fashion. This has been addressed. Based on the discussion in the linked PR, it sounds like the manner in which templating of this nature may occur is still under active discussion. I'll revisit this once that gets settled and merged. |
7e42f6a
to
1db7c36
Compare
1db7c36
to
40c020e
Compare
That's right--the new tests have the correct syntax. |
Hi, Any progress here ? |
Adds the
std::array
interface. Requires C++11 to use. Not sure how this is handled currently.EDIT: Currently blocked waiting for #426.