|
|
|
|
|
by mehrdadn
2902 days ago
|
|
idk, would something like this work maybe? // widget.h
class Widget { void throb1(); virtual void throb2(); };
// widget.cc
void Widget::throb1() { ... }
void Widget::throb2() { ... }
// widget.test.cc
void Widget::throb1() { ... }
void Widget::throb2() { ... }
class TestWidget : public Widget { int x; void throb2(); };
void TestWidget::throb2() { ... Widget::throb2(); ... }
If not, could you present code to illustrate the problem? I won't try to address more issues without actual code. |
|