Need encouraging...

Arlen Albert Keshabyan arlen.albert at gmail.com
Thu Oct 4 08:21:02 PDT 2007


Steven Schveighoffer Wrote:

> Do the listener types have any implementation?  If not, you can code them as 
> interfaces, and you don't need multiple inheritance.  The JUCE project may 
> have used multiple inheritance to emulate interfaces because interfaces are 
> not available with C++. 
> 
> 

That's not true! C++ has interfaces! Even more, abstract C++ classes can be used as interfaces, as abstract classes itself and as interfaces with partially implemented factions and data.

Well yes, some JUCE listener types have some implementation. Even more, programmers encouraged to write their own custom listeners to their own components and there they can re-implement and reuse derived members...



More information about the Digitalmars-d mailing list