If I have a class that is e.g. a shape, say rectangle (of different sizes), what approach may I use to create different instances of the class from the plugin?
If my class requires parameters for it's construction, how do I pass it via the shared library loading mechanism ?
Or have I been looking to use boost dll shared_library wrongly and that I might look at the plugin being some sort of factory design approach ?