January 15, 2015

std.algorithm kaynagini incelerken .reverse(args) [0] seklinde bir kullanima rastladim. merak ettim hemen #d kanalina sordum:

Alıntı:

>

Destructionator: it gets the reverse from global scope instead of local scope
Destructionator: that way it won't call itself recursively and will instead look up the other overloads
Destructionator: (or maybe it is recusrive, depending on the type)

dediler. paylasayim dedim.

[0] https://github.com/D-Programming-Language/phobos/blob/master/std/algorithm.d#L9673

--
[ Bu gönderi, http://ddili.org/forum'dan dönüştürülmüştür. ]