Permutations: Difference between revisions

Removed one bug from the second D entry
(Removed one bug from the second D entry)
Line 922:
 
@property T[] front() pure nothrow {
static if (doCopy) {
//return items.dup; // notNot nothrow.
returnauto itemsitems2 ~= new T[items.length]; // slower
else items2[] = items;
return items2;
} else
return items;
}