Re: [Cppcms-users] Server-Sent Events Example
Brought to you by:
artyom-beilis
From: Barbu P. - G. <bar...@gm...> - 2012-08-14 15:52:58
|
On 08/12/2012 11:54 PM, Artyom Beilis wrote: > Published there: > > http://blog.cppcms.com/post/107 Hi, I have a question about: context->async_on_peer_reset([=](){ this->waiters_.erase(context); }); Why are you catching things in the labda by value, not by reference? -- Barbu Paul - Gheorghe Common sense is not so common - Voltaire Visit My GitHub profile to see my open-source projects - https://github.com/paullik |