What exactly is the returned data type for a particular std::bind?
问题 First I have to say I have to know the returned data type from std::bind. I have a struct which is defined as typedef struct { UINT ID; CString NAME; boost::any Func;// 'auto' doesn't work here } CALLBACK; CALLBACK CallBackItems[]; Func is a function holder, I want it to hold different kinds of callback function. Somewhere I initialize CallBackItems like this: CallBackItems[] = { { 1, L"OnReady", std::bind(&CPopunderDlg::OnReady, pDlg) }, { 2, L"CustomFunction",std::bind(&CPopunderDlg: