Open Ryder17z opened 3 years ago
Yes, but that's not an issue. It used boost::bind
, which can be easily replaced with std::bind
.
PS: Non-boost asio does not mean "we won't use Boost at all for any other thing", it simply means "this asio library is stand-alone and not bound to Boost".
Yes, but that's not an issue. It used
boost::bind
, which can be easily replaced withstd::bind
.
That just seems to be a lazy excuse to not update the documentation because somebody forgot.
PS: Non-boost asio does not mean "we won't use Boost at all for any other thing", it simply means "this asio library is stand-alone and not bound to Boost".
That's contradictory and doesn't help the situation.
Good bye.
The tutorials are largely in the C++03 folder. asio/src/examples/cpp03/tutorial/timer3/timer.cpp
, while std::bind
was not added to the STL till C++11.
There are numerous great videos on using asio
released recently, however, it's not clear why the main tutorials haven't been updated to reflect more recent uses of C++. I am considering updating some of the examples.
https://think-async.com/Asio/asio-1.18.2/doc/asio/tutorial/tuttimer3.html
why?