On 08/27/2012 06:27 AM, Steven Schveighoffer wrote:
On Fri, 24 Aug 2012 13:35:57 -0400, Steven Schveighoffer
<[email protected]> wrote:


foreach(bool doRemove, item; container)
{
    doRemove = predicate(item);
}

Whoops, should be

foreach(ref bool doRemove, item; container)

-Steve

Right, I totally forgot about that one.

Reply via email to