title: C++, class member
body: <p>Suppose I have two classes. <code>Class1</code> takes an instance of <code>Class2</code> as an argument to initialize. Then what is the difference between the two lines of code below?</p>
  
  <p>As far as I know, when you use <code>new</code>, some memory space are created and you should use <code>delete</code> to erase that memory. So is it safe to say in this case the first use is non-standard? </p>
  
  <pre><code>Class1 c1(new Class2(argu));
  
  Class1 c1(Class2(argu));
  </code></pre>