baud@gt-eedsp.UUCP (Kurt Baudendistel) (02/09/89)
a common problem for me is that i'd like to add just a few features to an already established class. how can i do this in the simplest manner? i can ... (1) make new-class a class with a single member of type base-class. (2) make new-class a derived class from base-class with no members. then i can add the new functions to new-class that i want. the problem is that i have to do a lot of useless bookkeeping to pass all of the features of base-class (member functions, friend functions, etc.) on to new-class whichever of these two techniques i use. am i missing something? if not, why isn't there an easy way to do this in c++? kurt -- Kurt Baudendistel --- GRA Georgia Tech, School of Electrical Engineering, Atlanta, GA 30332 uucp: ...!{allegra,hplabs,ulysses}!gatech!gt-eedsp!baud internet: baud%gt-eedsp@gatech.edu