igsol
igsol
Thanks for answer @arun11299. I will put a look on the work_dispatcher class. Actually what strand::wrap does is exactly what I need. But now handy method is deprecated for some...
@arun11299 Because documentation (http://www.boost.org/doc/libs/1_66_0/doc/html/boost_asio/reference/io_context__strand/wrap.html) suggests in the first sentence: "Deprecated: Use **bind_executor**.". Example as a workaround is clear, but verbose in comparison with deprecated strand::wrap usage.
@arun11299 > vfunc event_handler{[=] () { strand.post(lambda)}}; BTW http://www.boost.org/doc/libs/1_66_0/doc/html/boost_asio/reference/io_context__strand/post/overload2.html states: "Deprecated: Use post."
The same in Linux. Several docsets always labeled with "Update available" despite they were updated indeed. 
> Did you find an alternative? No.