C++ Logo

std-proposals

Advanced search

Re: [std-proposals] Helper class to make safe a thread-unsafe class

From: Barry Revzin <barry.revzin_at_[hidden]>
Date: Wed, 28 Jun 2023 17:57:44 -0500
On Wed, Jun 28, 2023, 5:37 PM Frederick Virchanza Gotham via Std-Proposals <
std-proposals_at_[hidden]> wrote:

> A few months ago I was thinking of submitting this to Boost, but now
> I'm actually thinking maybe it should be in the Standard Library.
>
> I'm not the first person to come up with a class like this


Indeed. This is boost::synchronized_value<T>.

Barry

Received on 2023-06-28 22:57:59