for example :
String&&String :: operator = (const String & rhs)
What does this line mean? thank you.
Last edited on
Meaning it is a calling function. I did not understand the second part?
Last edited on
for example
1 2 3 4 5 6 7 8 9 10 11 12
|
class string
......
Public
operator int();
operator char *();
};
string :: operator int()
{}
string :: operator char*()
{}
|
what does this whole program means?
Last edited on