|
|
|
|
|
by WalterBright
764 days ago
|
|
This is all thoroughly implemented in D, so I know it works. It's probably D's most well-liked feature. > semantics Accessing a[i] means i gets checked against the array length, and it's a fatal error if it doesn't. > ABI Same as struct {size_t length; void* ptr;} > size sizeof(a) > length __length(a) or something like that |
|