Intial version compiles but not completely work
Custom function compiles and runs simple example MSVC
Working example with exception support
Added ability for custom_function to use something besides std::function