Idiomatic way to generate all possible values a static array of ubyte can have

Ali Çehreli via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Apr 2 08:19:36 PDT 2016


[Probably a repost.]

On 04/02/2016 01:20 AM, jkpl wrote:
> Let's say I have a ubyte[256]. I want to test all the possible values
> this array can have on a function.

nextPermutation():

   https://dlang.org/phobos/std_algorithm_sorting.html#nextPermutation

Ali



More information about the Digitalmars-d-learn mailing list