On 24/04/13 11:49, Alan Griffiths wrote:
> Review: Approve
>
> I agree, writing the loop to do two things makes it more complicated.
>
> I'd be tempted to use the erase idiom first, then the loop:
>
> filters.erase(
> std::remove_if(filters.begin(), filters.end(), [](EventFilterVector::value_type const& f) {return
On 24/04/13 11:49, Alan Griffiths wrote: if(filters. begin() , filters.end(), [](EventFilterV ector:: value_type const& f) {return
> Review: Approve
>
> I agree, writing the loop to do two things makes it more complicated.
>
> I'd be tempted to use the erase idiom first, then the loop:
>
> filters.erase(
> std::remove_
Or even "EventFilterVec tor::const_ reference f"
-- www.octopull. co.uk/
Alan Griffiths +44 (0)798 9938 758
Octopull Ltd http://