Guest User

Untitled

a guest
Feb 22nd, 2012
44
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.13 KB | None | 0 0
  1. template <class T>
  2. class Z
  3. {
  4. private:
  5.     X* xxx;
  6. public:
  7.     Z(X *x)
  8.     {
  9.         xxx->x();
  10.     }
  11.  
  12.     T *Get()
  13.     {
  14.         return (T *)xxx;
  15.     }
  16. }
Advertisement
Add Comment
Please, Sign In to add comment