Formal Review of std.range.ndslice

Ilya Yaroshenko via Digitalmars-d digitalmars-d at puremagic.com
Wed Nov 18 02:26:11 PST 2015


On Wednesday, 18 November 2015 at 08:52:11 UTC, Robert burner 
Schadek wrote:
> I couldn't easily find how to make the module work with 
> allocators. IMO combining this module with 
> std.experiemtal.allocator should be possible. And if it is 
> already possible, there should be tests for documentation and 
> validation.

I have added makeSlice, however this function can be easily 
implemented by user: allocate array -> pass array to `sliced`.

updated docs 
http://dtest.thecybershadow.net/artifact/website-7a646fdea76569e009844cdee5c93edab10980ca-ce47155797f387348826317811c4af0c/web/phobos-prerelease/std_experimental_range_ndslice.html
--Ilya


More information about the Digitalmars-d mailing list