A
alessio211734
I have a class with a Instance method to make object as unique.
I have to do many classes as it where changes are very small (class
name and internal function call). I thinks to do this with templates.
My problem is the method Instance can be a problem because
instantiation template refer to itself object. How can do it with
template?I need to make several object where every object have his
instance.
My class structure:
class P
{
P();
void Instance();
void Get();
void Set();
}
Thanks.
I have to do many classes as it where changes are very small (class
name and internal function call). I thinks to do this with templates.
My problem is the method Instance can be a problem because
instantiation template refer to itself object. How can do it with
template?I need to make several object where every object have his
instance.
My class structure:
class P
{
P();
void Instance();
void Get();
void Set();
}
Thanks.