[ecppstdlib-devel] remove_copy_if
Status: Pre-Alpha
Brought to you by:
nevercrywolf
|
From: W <wa...@so...> - 2002-09-22 16:49:20
|
Just noticed this in remove_copy_if code [ <algorithm> (rev. 1.8) ]
while (_First != _Last)
{
if (_Pred(*_First))
*_Result++ = *_First;
++_First;
}
return _Result;
Shouldn't that be if (! _Pred(*_First)) ?
"remove_copy_if() copies elements from a source range to a destination
range, except that satisfying a predicate are not copied" ...
|