I have a class in C++ (VS2010).
This class has public functions, for example "ToString".
Sometimes it happens that I need to call ToString from within the class.
For example:
void::ConvertToLowerCase()
{
wstring ws;
ws = ToString();
ws = lower(ws);
m_wsText= ws
}
I would like to know if I can add an "owner" to the ToString line, for example
ws = self.ToString();
or
ws = me.ToString();
I tried all names that I could imagine, but I did not find any that would work. Having such an owner name helps me to figure out where the function resides.