P
pauldepstein
I have a class defined as follows:
class SomeClass
{
public:
SomeClass( SomeType& SomeThing, AnotherType& SomeThingElse,
YetAnotherType& YouAintSeenThis);
};
This constructor is the only function in the class definition. I am
trying to write a class to handle members of SomeClass. How can I get
hold of the parameters such as SomeThing, SomeThingElse and
YetAnotherType without changing SomeClass?
In other words, suppose x is a member of SomeClass. What is the c++
for "the variable SomeThing (of type SomeType) that was used in the
construction of x" ?
Thank you for your help.
Paul Epstein
class SomeClass
{
public:
SomeClass( SomeType& SomeThing, AnotherType& SomeThingElse,
YetAnotherType& YouAintSeenThis);
};
This constructor is the only function in the class definition. I am
trying to write a class to handle members of SomeClass. How can I get
hold of the parameters such as SomeThing, SomeThingElse and
YetAnotherType without changing SomeClass?
In other words, suppose x is a member of SomeClass. What is the c++
for "the variable SomeThing (of type SomeType) that was used in the
construction of x" ?
Thank you for your help.
Paul Epstein