[Gambas-user] Inheriting Stream in a Gambas class?

Benoît Minisini gambas at ...1...
Tue Jul 29 15:16:12 CEST 2014


Le 29/07/2014 12:46, Tobias Boege a écrit :
> Hi Benoit,
>
> is there currently the possibility to "Inherits Stream" in a class written
> in Gambas, so that it can be used as a Stream? If not, is it a goal for
> Gambas 4?

It should be possible, did you try?

>
> Also re-read this mail substituting "Stream" by "the _convert and _operator
> interfaces seen in gb.gsl".

for _convert, maybe. For _operator, I don't want, otherwise it will lead 
to the C++ delirium with operator reimplementation.

Regards,

-- 
Benoît Minisini




More information about the User mailing list