Boost logo

Boost Users :

From: Cristian Morales Vega (cristian_at_[hidden])
Date: 2022-03-22 08:42:40


On Tue, 22 Mar 2022 at 08:09, B Aleck via Boost-users <
boost-users_at_[hidden]> 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 list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net