C++ Logo

std-proposals

Advanced search

Re: Allow virtual base classes in constexpr

From: Ville Voutilainen <ville.voutilainen_at_[hidden]>
Date: Mon, 10 Jun 2019 18:23:31 +0300
On Mon, 10 Jun 2019 at 18:21, Brian Bi via Std-Proposals
<std-proposals_at_[hidden]> wrote:
>
> Arthur, I think you may be misremembering something. Under no circumstances should the language implicitly generate multiple invocations of the destructor on a single virtual base subobject, and the destruction order is completely specified by the standard - it is the reverse of construction order, which is well-defined ([class.dtor]/9, [class.base.init]/13.1).

Correct.

Received on 2019-06-10 10:25:30