fwd.cpp 201 Bytes Edit Raw Blame History 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 class Task { public: void run(); }; class Displayed { public: void draw(); }; class Satellite { Task t; Displayed d; public: void run() { t.run(); } void draw() { d.draw(); } };