title: Allocating memory - Pointers
body: <p>I want to know when or if I have to delete this object.
  Here is the constructor of a basic class Object
  Object.cpp:</p>
  <pre><code>Objects::Objects{
      Obj one = new Obj;
      Obj two = new Obj;
  }
  </code></pre>
  <p>I know when allocating memory you are supposed to delete it at some point, but I have allocated memory in the constructor and want to use the variables one and two again. When do I delete them?</p>