yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #03463
Re: macros for exposing classes to python
> And directly the second one, do we have to suppress the constructor as
> it was before ? Because I also get :
> /home/3S-LAB/jduriez/yade/pkg/dem/Engine/GlobalEngine/NormalInelasticityLaw.hpp:34:
> error: 'NormalInelasticityLaw::NormalInelasticityLaw()' cannot be
> overloaded
Yes, exactly, the constructor is hidden inside the macro:
> /* Macros for registering classes in python, serialization framework,
> class factory. These macros create default (parameterless) constructor,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Sorry for inconveniences & thanks for cooperation.
v.
References