You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Brilliant piece of work here! It has impressed me many times already.
Here is one little snafu that I experienced with v3.1.2:
importcppyycppyy.cppdef("using IntArray = int[5];") # or "typedef int IntArray[5];"X=cppyy.gbl.IntArray
which yields:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: <namespace cppyy.gbl at 0x2d8e890> has no attribute 'IntArray'. Full details:
type object '' has no attribute 'IntArray'
'IntArray' is not a known C++ class
'IntArray' is not a known C++ template
'IntArray' is not a known C++ enum
Brilliant piece of work here! It has impressed me many times already.
Here is one little snafu that I experienced with v3.1.2:
which yields:
Similarly, I can do this:
Workaround: use
std::array<int, 5>
instead.Thanks again for the quality project!
The text was updated successfully, but these errors were encountered: