polymorphic base class

created by Broccolist
(thing) by Broccolist (4.3 y) (print)   (I like it!) Sat Nov 13 1999 at 9:56:43
Maybe the least used feature in all of C++. Used mostly by crazed MFC developers and rarely ever practical in real code. Used to avoid repetition in class hierarchies where the lower levels use multiple inheritance and the higher levels inherit from the same base class. As in : A -> B. A -> C. B+C -> D. Class B and C must derive A virtually. See also: templates as template parameters, explicit instantiation, placement new for other obscure features of the language.
Y'know, if you log in, you can write something here, or contact authors directly on the site. Create a New User if you don't already have an account.