What is the end goal? Like what is your generic type supposed to hold and how
it is supposed to interact with C++?
Hello,
Is it possible to define such a type that :
type
RawA {.importcpp: "A".} = object
A[T] = distinct RawA
Run
The issue with this is that the type A will generate C++ templated code
:`A::A` and that will not compile since A (in C++) is not templated.
For context, this happens during wrapping Tensor type of Torch library.
`torch::tensor` type is not templated but the Tensor holds scalars of a given
type.
Therefore there is a non generic type `RawTensor {.importcpp: "Tensor".}` that
map directly.
The goal is to create a more idiomatic Nim AP