
24 Sep
2011
24 Sep
'11
4:07 p.m.
On Sep 24, 2011, at 6:12 AM, Andrew Sutton wrote:
On a side note, I think the algorithm can be trivially implemented using adjacent_find, and should have the same iterator requirements.
return adjacent_find(f, l, not2(pred));
Yes, it can - but that places requirements on the predicate that the current implementation does not. -- Marshall Marshall Clow Idio Software <mailto:mclow.lists@gmail.com> A.D. 1517: Martin Luther nails his 95 Theses to the church door and is promptly moderated down to (-1, Flamebait). -- Yu Suzuki