3 Apr
2009
3 Apr
'09
12:06 p.m.
Igor R wrote:
// usage in a ctor initialisation list …, where m_button_monitor is of type ButtonMonitor,
, m_button_monitor(boost::bind(boost::mem_fn(&CView::OnRun), this,
In addition to Igor's response, the above can be simplified as: m_button_monitor(boost::bind(&CView::OnRun,this,ID_TOOLBUTTON_AUTO)) bind's first argument can directly be a member function address. Jeff