[libcxx] r214736 - Fix PR#202520 - predicate called too many times in list::remove_if. Add tests for list, forward_list, and the std::remove_if algorithm
Tobias Grosser
tobias at grosser.es
Mon Aug 4 11:40:14 PDT 2014
On 04/08/2014 19:32, Marshall Clow wrote:
> - int* r = std::remove_if(ia, ia+sa, std::bind2nd(std::equal_to<int>(), 2));
> +// int* r = std::remove_if(ia, ia+sa, std::bind2nd(std::equal_to<int>(), 2));
> + unary_counting_predicate<bool(*)(int), int> cp(equal2);
Hi Marshall,
any reason you left this comment in?
Tobias
More information about the cfe-commits
mailing list