Advertisement
Guest User

Untitled

a guest
May 19th, 2017
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.32 KB | None | 0 0
  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. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement