“Proper” use of multiple inheritance in C++

One day I read in the book (probably Head First Java, not sure). It says that "there's only one good usage of multiple inheritance used in a C++ library."

(There was a name of the library, but I forgot it) What library properly used multiple inheritance, and how multiple inheritance used?

Answers


One thing that you can use multiple inheritance for is for mixins. You can use mixins to add functionality to a class that is defined in another class (the class that you're mixing in).

A link specifically about mixins in C++: MixinsForCeePlusPlus


Need Your Help

Countdown Timer Objects - Javascript

javascript object counter

I would like to create a simple timer in Javascript that counts down from a given time until it hits 0. I found this tutorial which worked perfectly. My problem is that I need to place multiple tim...

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.