title: Instantiating Object in Parameter Arguments Without using "new"
body: <p>If I want to create a new instance of an object within a parameter argument (in C++), is there a way to do this without using "new". It's my understanding that the use of the "new" keyword means I then have to deal with deleting the object (dynamic allocation?).</p>
  
  <p>Example: </p>
  
  <pre><code>wrapper.set_state( new Medium() );
  </code></pre>