title: How to pass a function pointer that points to constructor?
body: <p>I'm working on implementing a reflection mechanism in C++.
  All objects within my code are a subclass of Object(my own generic type) that contain a static member datum of type Class.</p>
  
  <pre><code>class Class{
  public:
     Class(const std::string &amp;n, Object *(*c)());
  protected:
     std::string name;     // Name for subclass
     Object *(*create)();  // Pointer to creation function for subclass
  };
  </code></pre>
  
  <p>For any subclass of Object with a static Class member datum, I want to be able to initialize 'create' with a pointer to the constructor of that subclass. </p>