C++ Logo

std-proposals

Advanced search

Re: [std-proposals] Return Value Optimisation whenever you need it (guaranteed elision)

From: Bjorn Reese <breese_at_[hidden]>
Date: Sun, 16 Jul 2023 14:48:02 +0200
On 7/16/23 13:54, Frederick Virchanza Gotham via Std-Proposals wrote:

> Emailed him yesterday, nothing back yet. For the time being I will
> re-write the code to accommodate lambdas-with-captures by using
> "std::function<void(void*)>" instead of function pointers. When I have

Or you could simply write a mutex wrapper that locks in its constructor.

Received on 2023-07-16 12:48:05