C++ Logo

sg12

Advanced search

Re: [ub] new revision of p0593

From: Jens Maurer <Jens.Maurer_at_[hidden]>
Date: Fri, 09 Feb 2018 23:06:12 +0100
On 02/09/2018 10:49 PM, Ville Voutilainen wrote:
> Then I pointed out that the
> current rules ascertain that
> even if you jump into a point where destruction should have happened,
> there's no out-of-lifetime
> access since a trivial destructor doesn't end lifetime. With these
> teeth, it will, and I can jump
> into zombie-land, or I can jump into what should've been zombie-land
> but now isn't.
> I don't know whether that's bad or whether these teeth are still an improvement,
> just thought that it's worth considering.

Could you show some example code where that zombie-land appears?

Thanks,
Jens

Received on 2018-02-09 23:11:18