creating a new instance of a function?
ok, this kinda follows on my previous post. (i got basic user function calls executing, as well as user created functions being processed and executed) however i need to know how to create a new instance of a function. example.
could i do something like this:
void bob(std::string unused_dont_ask_why)
std::cout << "blah";
how would i create a function pointer to bob such that it would have a unique address?
void (*)(string) the_func_pointer = new(bob);