Open peremato opened 1 year ago
Hello Pere,
I was not able to reproduce the issue with HepGeom::Point3D<double>
. I will add the support for inheritance from templated class.
Philippe.
I' ve used https://gitlab.kitware.com/autopybind11/autopybind11 to generate some template based code. Would it be easier to reuse some code from there to generate for julia instead?
I encountered two cases of a class inheriting from a templated base class that is blocking the progress in Geant4.jl.
G4[U]Box
inherits fromG4UAdapter<vecgeom::UnplacedBox>
and this one inherits frompublic G4VSolid, protected UnplacedVolume_t
. It is needed that we can use instances ofG4Box
in function arguments expectingG4VSolid*
.HepGeom::Point3D<double>
does not wrap any constructor. I get the following error:The class is defined as
template<class T> class Point3D : public BasicVector3D<T> {};
To reproduce the last error the following config file will do it: