#include <iostream>
using namespace std;
class Round1 {
public:
void Play() {
cout << "Round1::Play" << endl;
}
};
class Round2 {
public:
void Play() {
cout << "Round2::Play" << endl;
}
};
template <typename T>
class Strategy {
private:
T objT;
public:
void Play() {
objT.Play();
}
};
int main() {
Strategy<Round1> obj1;
Strategy<Round2> obj2;
obj1.Play();
obj2.Play();
return 0;
}