Wrapping a C-style Array (Pointer + Length) in a Range Interface

ketmar via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Jul 14 01:40:54 PDT 2015


On Tue, 14 Jul 2015 08:33:56 +0000, Nordlöw wrote:

> On Wednesday, 8 July 2015 at 05:14:48 UTC, ketmar wrote:
>> so while there is nothing wrong in creating slices from pointers,
>> programmer should be aware of some potential pitfalls.
> 
> I believe there's a DIP (involving the scope keyword) related to this
> problem, right?

yes, but i never get it.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20150714/ea47cd4d/attachment.sig>


More information about the Digitalmars-d-learn mailing list