Hi, I ran into difficulties when I was reading boost::asio http server
example[1],
I see:
work_.push_back(
boost::asio::require(io_context->get_executor(),
boost::asio::execution::outstanding_work.tracked));
I don't know what is the meaning of this code?
Or what is boost::asio::require()? I did not find useful information
to introduce it.
[1] https://www.boost.org/doc/libs/1_76_0/doc/html/boost_asio/example/cpp03/http/server2/io_context_pool.cpp
--
ZheNing Hu
_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
https://lists.boost.org/mailman/listinfo.cgi/boost-users