I’ve been trying to map these structures.
# Julia Struct
mutable struct Point{T}
x::T
y::T
end
// C++ Struct
template <typename T>
struct Point{
T x;
T y;
};
It is possible that CxxWrap maps Julia parametric type to C++ template type using add_type
and .apply()
.
https://github.com/JuliaInterop/CxxWrap.jl#template-parametric-types
I’d like to use map_type
to do the same thing. Please let me know if you have any information.