forked from boostorg/algorithm
@ -134,8 +134,10 @@ namespace boost {
|
|||||||
{
|
{
|
||||||
if(m_Match.begin() == m_Match.end())
|
if(m_Match.begin() == m_Match.end())
|
||||||
m_Match=this->do_find(m_Match.end(),m_End);
|
m_Match=this->do_find(m_Match.end(),m_End);
|
||||||
else
|
else {
|
||||||
m_Match=this->do_find(m_Match.begin()+1,m_End);
|
input_iterator_type last = m_Match.begin();
|
||||||
|
m_Match=this->do_find(++last,m_End);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// comparison
|
// comparison
|
||||||
|
@ -181,12 +181,10 @@ void iterator_test()
|
|||||||
BOOST_CHECK(siter==split_iterator<string::iterator>(siter));
|
BOOST_CHECK(siter==split_iterator<string::iterator>(siter));
|
||||||
BOOST_CHECK(siter==split_iterator<string::iterator>());
|
BOOST_CHECK(siter==split_iterator<string::iterator>());
|
||||||
|
|
||||||
#if 0
|
|
||||||
// Make sure we work with forward iterators
|
// Make sure we work with forward iterators
|
||||||
// See bug #7989
|
// See bug #7989
|
||||||
list<char> l1;
|
list<char> l1;
|
||||||
find_iterator<list<char>::iterator> liter=make_find_iterator(l1, first_finder("xx"));
|
find_iterator<list<char>::iterator> liter=make_find_iterator(l1, first_finder("xx"));
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
BOOST_AUTO_TEST_CASE( test_main )
|
BOOST_AUTO_TEST_CASE( test_main )
|
||||||
|
Reference in New Issue
Block a user