C++ Logo

std-proposals

Advanced search

Re: [std-proposals] Stop gap required for NRVO until Anton's paper is assimilated

From: Thiago Macieira <thiago_at_[hidden]>
Date: Fri, 19 Jul 2024 16:45:30 -0700
On Friday 19 July 2024 15:36:15 GMT-7 Frederick Virchanza Gotham via Std-
Proposals wrote:
> This would allow us to return a locked mutex by
> value from a function.

No one wants a new, locked mutex.

I don't care it's an easy example to give because people understand the
limitations of unmovable objects. Find another example.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Principal Engineer - Intel DCAI Platform & System Engineering

Received on 2024-07-19 23:45:34