Fix for broken split (doesn't spit out all sub expressions).

[SVN r11716]
This commit is contained in:
John Maddock
2001-11-16 12:24:40 +00:00
parent 6cc5cf41d5
commit 72c3b4ed13

View File

@ -69,8 +69,9 @@ bool split_pred<OutputIterator, charT, Traits1, Alloc1, Alloc2>::operator()
{
*(*p_out) = static_cast<string_type>(what[i]);
++(*p_out);
return --*p_max;
if(0 == --*p_max) return false;
}
return *p_max != 0;
}
else
{