C++ Logo


Advanced search

Re: [std-proposals] this return type

From: Jan Schultke <janschultke_at_[hidden]>
Date: Sun, 9 Apr 2023 17:48:10 +0200
> What do you mean by "the base object lifetime being unaffected"? I
> don't think it's possible to replace the object with a different
> dynamic type without destroying and recreating the base subobject as
> well, so its lifetime is pretty much affected.

I got confused here. I was under the impression that it was possible,
but it obviously isn't.

Received on 2023-04-09 15:48:22