opDollar and length
Joseph Rushton Wakeling via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Sun Dec 28 14:20:31 PST 2014
On 28/12/14 19:21, Tobias Pankrath via Digitalmars-d-learn wrote:
> To allow slicing for types that don't have a length property but
> are terminated by a sentinel value, like null terminated strings
> or single linked lists.
>
> It's usefull for multi-dimensional containers as well.
Ah, clear. Thanks very much. (Must remember to look into the multi-dimensional
container issue in more detail, that looks like something worth understanding in
depth.)
More information about the Digitalmars-d-learn
mailing list