see these class:
class test
{
public:
void virtual Created(){}
void test()
{
Created();
}
};
class test1 : public test
{
void Created();
void test1(): test
{
Created();
}
} test1;
void test1::Created()
{
cout << "created test1";
}
(these code wasn't tested, but you get the point)
can i transform the test1 in a template?(continue using the object name like class name)
why transform that in template?
for be more quickly and then i just need created the Created() function outside the class\functions.