Can I save and load a C++ function from a file?
<p>I have a GUI class which stores pointers to functions which are triggered on events such as a mouse down event. I would love to be able to read and write the chunk of memory which that function is stored in out a file and later load it back into memory like a DLL. Is there anyway to do this? Also I am fully aware of script interpreters such as Lua or Python but I want to actually write out a C++ function. </p>
