SHARE
TWEET

Untitled

a guest May 19th, 2017 42 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <list>
  2. using std::list;
  3.  
  4. struct RecursiveFunctor;
  5. typedef list<RecursiveFunctor*> ChildCalls;
  6.  
  7. struct RecursiveFunctor
  8. {
  9.     virtual call(ChildCalls& children) = 0;
  10.     virtual ~RecursiveFunctor(){}
  11. };
  12.  
  13. struct DistributableStack
  14. {
  15.     virtual void call(RecursiveFunctor* initial) = 0;
  16.     ~DistributableStack(){}
  17. };
RAW Paste Data
Pastebin PRO Summer Special!
Get 40% OFF on Pastebin PRO accounts!
Top