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
{{ message }}
This repository was archived by the owner on Oct 4, 2025. It is now read-only.
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?