View difference between Paste ID: A7Ujj2dd and ScUVH4Q3
SHOW: | | - or go back to the newest paste.
1
template <class T>
2
class Z
3
{
4
private:
5
	X* xxx;
6
public:
7
	Z(X *x)
8
	{
9
		xxx=x;
10
		xxx->x();
11
	}
12
13
	T *Get()
14
	{
15
		return (T *)xxx;
16
	}
17-
}
17+
};