kipp@warp.sgi.com (Kipp Hickman) (10/10/89)
Say I do this: class foo { ... friend foo* doSomething(foo* a, ...); }; Then in foo.c++ I write this: static foo* doSomething(foo* a, ...) { ... } The compiler complains that the declaration of doSomething is both extern & static. So then I try this: class foo { ... static friend foo* doSomething(foo* a, ...); }; And that yields this complaint: error: bad base type: static friend UGH. kipp hickman silicon graphics inc.