Reuse of variables referencing const objects
bearophileHUGS at lycos.com
Fri Mar 6 15:04:38 PST 2009
> I guess there is a data member for allocated buffer size as well...
Nope, this isn't vector of C++. It's a long story (caused to allow the slicing). The result is that the append is very slow.
> Objects may be viewed as a structure too. There are context pointer
> virtual function table and maybe something else implementation-specific.
Objects are managed by a reference (even in a transparent way, when you use scope and the compiler accepts it).
More information about the Digitalmars-d-learn