21 Oct
2013
21 Oct
'13
12:32 p.m.
Marcel Raad <raad <at> teamviewer.com> writes:
Changing it to the following code compiles:
boost::signals2::signal<void (const std::wstring &, int)> mySignal;
boost::signals2::slot<void (const std::wstring&, int), boost::function<void
(const std::wstring&, int)>> mySlot(&SomeMemberfunction, this, _1, _2);
Sorry, I forgot the last line: mySignal.connect(mySlot);