On Fri, 24 Aug 2012 13:35:57 -0400, Steven Schveighoffer <schvei...@yahoo.com> wrote:

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

Whoops, should be

foreach(ref bool doRemove, item; container)

-Steve

Reply via email to