ndslice and RC containers

Nordlöw via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Sep 22 05:38:57 PDT 2016


Is ndslice' Slice() prepared for integration with containers with 
reference counting semantics?

I wonder because according to the docs they internally store a 
pointer and an offset. What is that pointer supposed to point to 
except from obviously currently a GC-allocated array?

See:

https://dlang.org/phobos/std_experimental_ndslice_slice.html#.Slice


More information about the Digitalmars-d-learn mailing list