MCPcopy Create free account
hub / github.com/boostorg/asio / copy_object

Method copy_object

include/boost/asio/execution/any_executor.hpp:819–823  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

817
818 template <typename Obj>
819 static void copy_object(any_executor_base& ex1, const any_executor_base& ex2)
820 {
821 new (&ex1.object_) Obj(ex2.object<Obj>());
822 ex1.target_ = &ex1.object<Obj>();
823 }
824
825 template <typename Obj>
826 static void move_object(any_executor_base& ex1, any_executor_base& ex2)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected