ndslice, using a slice in place of T[] in template parameters

Ilya Yaroshenko via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun Jan 10 15:31:47 PST 2016


On Sunday, 10 January 2016 at 23:24:24 UTC, Jay Norwood wrote:
> On Sunday, 10 January 2016 at 22:23:18 UTC, Ilya Yaroshenko 
> wrote:
>
>> Could you please provide full code and error (git gists)? -- 
>> Ilya
>
> ok, thanks.
> I'm building with DMD32 D Compiler v2.069.2 on Win32.  The 
> dub.json is included.
>
> https://gist.github.com/jnorwood/affd05b69795c20989a3

Just use normal arrays for buffer (median accepts array on second 
argument for optimisation reasons).

BTW, dip80-ndslice moved to http://code.dlang.org/packages/mir
-- Ilya


More information about the Digitalmars-d-learn mailing list