title: C++ Passing a class as a parameter
body: <p>I'm wondering if it's possible to pass a class as a parameter in c++.
  Not passing a Class Object, but the class itself which would allow me to use this class like this.</p>
  
  <pre><code>void MyFunction(ClassParam mClass)
  {
      mClass *tmp = new mClass();
  }
  </code></pre>
  
  <p>The above is not real code, but it hopefully explains what I'm trying to do in an example.</p>