initializedArray

Andrej Mitrovic andrej.mitrovich at gmail.com
Tue Dec 20 12:20:28 PST 2011


On 12/20/11, Dejan Lekic <dejan.lekic at gmail.com> wrote:
> I would go even further, and give a *function* as an argument -
> function that will be used to initialise values.

Well I don't know about functions yet, but I did need to use another
array as an initializer. So the new implementation takes care of that
via lockstep:

http://www.ideone.com/gKFTK


More information about the Digitalmars-d mailing list