On Wed, Jun 28, 2023, 5:37 PM Frederick Virchanza Gotham via Std-Proposals <std-proposals@lists.isocpp.org> 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