Re: [Boost.Asio] Can I move io_context away while having sockets bound to it?
Cristian Morales Vega via Boost-users <[email protected]>
| Newsgroups | gmane.comp.lib.boost.user |
|---|---|
| Message-ID | <CAGUfO+wguZ0KBRRuRcDbcFbuL1U47SFHaoqjU_wZavU79-9SZw@mail.gmail.com> |
On Tue, 22 Mar 2022 at 08:09, B Aleck via Boost-users < [email protected]> wrote: > Is it safe to std::move the io_context away? It's not a matter of safety. It's just impossible, an io_context is not movable (or copyable): https://www.boost.org/doc/libs/1_78_0/doc/html/boost_asio/reference/io_context/io_context.html _______________________________________________ Boost-users mailing list [email protected] https://lists.boost.org/mailman/listinfo.cgi/boost-users