Reuse of variables referencing const objects

Sergey Kovrov kovrov+digitalmars at
Fri Mar 6 09:53:04 PST 2009

On 3/6/2009 4:42 PM, bearophile wrote:
> Arrays aren't really references, they are a small 2-word long struct,
> that contains a pointer to the data and a length.

I guess there is a data member for allocated buffer size as well...

Objects may be viewed as a structure too. There are context pointer 
virtual function table and maybe something else implementation-specific.

-- serg.

More information about the Digitalmars-d-learn mailing list