In C, you can dynamically link a shared object by dlopen() and use dlsym() to locate the address of a particular symbol( a function ) and assign it to a function pointer.
In C++, if you happen to know the address of the class constructor, will you be able to create a new object out of it ? I do realize that that, using a static method which would return a object of the class is the convention for dynamically linking in c++.
I was inquisitive whether can create an object from a constructors address. If so, can u give an example ?
Thanks in advance