Re: [Boost-users] How to replace get_io_service()/get_io_context()-calls

2025-05-21 Thread Mohammad Nejati [ashtum] via Boost-users
On Wed, May 21, 2025 at 7:52 PM Klebsch, Mario via Boost-users wrote: > There is no default value of Executor, so how does the template instantiation > of basic_stream_socket compile? The default executor is specified a few lines above in the forward declaration: template class basic_stream_soc

[Boost-users] How to replace get_io_service()/get_io_context()-calls

2025-05-21 Thread Klebsch, Mario via Boost-users
Hello, I have been using boost::asio for about a decade. I was using boost-1_63. I use get_io_service() (e.g. on a socket) to get a reference to the io_context, e.g. to post(…) on that io_context. I have read, that get_io_service() got deprecated and was removed. I now am facing, the challeng