C++ Logo

std-proposals

Advanced search

Re: [std-proposals] Relocation in C++

From: Magnus Fromreide <magfr_at_[hidden]>
Date: Thu, 22 Dec 2022 23:40:33 +0100
On Thu, Dec 22, 2022 at 07:02:34PM +0100, Edward Catmur via Std-Proposals wrote:
>
> Yes, such as `reloc guard, f();` - note the comma. I think here `f()`
> should be protected by the guard.

I think that would be unexpected, please remember that the comma in a
comma expression is a sequence point.

/MF

Received on 2022-12-22 22:40:37