// Use multiple inheritance. We want 
// both a string and an Object:
class MyString: public string, public Object {
public:
  ~MyString() {
    cout << "deleting string: " << *this << endl;
  }
  MyString(string s) : string(s) {}
};
For the above code, I do not understand what string(s) mean? There is no variable called string in fact, but why it can work?
 
     
     
     
    