title: do I need to destroy a string in c++
body: <p>if I have a string in a class, then memory is allocated. Do I have to destroy the string in the destructor? e.g.</p>
  
  <pre>
  class A {
    string Test;
    A() {
      Test = "hello world";
    }
  
    A(string &name) {
      Test = name;
    }
  
    ~A() {
      // do I have to destroy the string here?
    }
  }
  </pre>
  
  <p>I'm an old c/c++ (pre stl) programmer and getting back into c++. Is the string destroyed automatically using some template magic?</p>
  
  <p>tia,
  Dave</p>