$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Vinnie Falco (vinnie.falco_at_[hidden])
Date: 2021-09-21 14:49:53
On Tue, Sep 21, 2021 at 7:34 AM Andrzej Krzemienski via Boost
<boost_at_[hidden]> wrote:
> I am not trying to solve any specific problem. It just strikes me that a
> shared_ptr is used in a demo example for the library. I was always of the
> opinion that a shared_ptr is often abused as a way of doing an ad-hoc GC.
In theory it should work since the echo protocol is half-duplex. What
happens when you switch it to unique_ptr? Move-only handlers should
work, but it is possible that Chris missed a place that is still doing
a copy.
Thanks