C++ Logo


Advanced search

Re: [ub] Draft 2 of Enhanced C/C++ memory and object model

From: Jens Maurer <Jens.Maurer_at_[hidden]>
Date: Wed, 27 Mar 2019 09:23:53 +0100
On 27/03/2019 06.08, Arthur O'Dwyer wrote:
> */All/* objects — even objects of non-trivially attachable types — continue to occupy contiguous bytes of storage, IIUC.

The status quo in C++ allows for non-contiguous storage for objects of non-trivial type.

So, a type with virtual base classes could implement that virtual base class as
a pointer to somewhere else.


Received on 2019-03-27 09:29:29