c++ pointers to overloaded functions
问题 I'm trying to expose a overloaded function using boost::python. the function prototypes are: #define FMS_lvl2_DLL_API __declspec(dllexport) void FMS_lvl2_DLL_API write(const char *key, const char* data); void FMS_lvl2_DLL_API write(string& key, const char* data); void FMS_lvl2_DLL_API write(int key, const char *data); I'v seen this answer: How do I specify a pointer to an overloaded function? doing this: BOOST_PYTHON_MODULE(python_bridge) { class_<FMS_logic::logical_file, boost::noncopyable>(