Created
August 2, 2016 00:03
-
-
Save jnothman/cd59bc47a99f13610c90d73fafc46402 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| cdef cppclass myclass[T]: | |
| T x | |
| object foo(self): | |
| return self.x | |
| from cython cimport floating | |
| def get(floating x): | |
| cdef myclass[floating] *v = new myclass[floating]() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment