-
Notifications
You must be signed in to change notification settings - Fork 12
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
Implement automatic converters for ArrayView and ArrayRCP #163
Comments
According to @sethrj: You could write typemaps that convert arrayview to and from fortran array pointers (basically a modification of the std::pair code in
so this won't replace the std::pair typemaps, just supplement them. If you want to reduce the code a little, you can use
but you'll still have to manually override the C++->Fortran translation code (replacing the .first and .second stuff with size, data, etc) |
Right now, I put a bunch of manual wrapper functions for those implementing essentially the same thing. Need to alias
ArrayView<T>
tostd::pair<T*,size_t>
which should reduce the amount of code.The text was updated successfully, but these errors were encountered: