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
I am trying to export interface of C++ templated library to Julia using Cxx and I cannot find a good way how to do it. Suppose I have a class like this:
template< typename T >
struct myArray
{
myArray() {...};
myArray( int size ) {...};
void setSize( int size ) {...};
int getSize() {...};
};
I would like to use Cxx in Julia to define struct, constructor with size and functions getSize and setSize. And another question, how could I deal with type T? How to pass it from Julia to myArray?
Thanks for ant help, Tomas.
The text was updated successfully, but these errors were encountered:
Hi again,
I am trying to export interface of C++ templated library to Julia using Cxx and I cannot find a good way how to do it. Suppose I have a class like this:
I would like to use Cxx in Julia to define
struct
, constructor with size and functionsgetSize
andsetSize
. And another question, how could I deal with typeT
? How to pass it from Julia tomyArray
?Thanks for ant help, Tomas.
The text was updated successfully, but these errors were encountered: