|
Boost : |
Subject: Re: [boost] VC2013 1.55 beta failures
From: Marcel Raad (raad_at_[hidden])
Date: 2013-10-21 08:32:32
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);
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk