[Boost.Asio] Can I move io_context away while having sockets bound to it?

B Aleck via Boost-users <[email protected]>
Newsgroups gmane.comp.lib.boost.user
Message-ID <MEAPR01MB3640CA7D67521193702CC7D68C179@MEAPR01MB3640.ausprd01.prod.outlook.com>
You created serveral sockets and bound them to an io_context

Is it safe to std::move the io_context away? Will those sockets be affected, or even be invalidated?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.