Jonathan M Davis <jmdavisp...@gmx.com> wrote:
This behavior is intended. Arrays are actually something like this under the hood:struct array(T) { T* arr; size_t length; }
Actually, that is: struct array(T) { size_t length; T* ptr; } To get the layout and names right. ( http://digitalmars.com/d/2.0/abi.html ) -- Simen