Make find_iterator work with forward iterators; refs #7989

[SVN r82788]
This commit is contained in:
Marshall Clow
2013-02-08 17:32:05 +00:00
parent efd5d23bb9
commit 6d22c99f2e
2 changed files with 4 additions and 4 deletions

View File

@ -181,12 +181,10 @@ void iterator_test()
BOOST_CHECK(siter==split_iterator<string::iterator>(siter));
BOOST_CHECK(siter==split_iterator<string::iterator>());
#if 0
// Make sure we work with forward iterators
// See bug #7989
list<char> l1;
find_iterator<list<char>::iterator> liter=make_find_iterator(l1, first_finder("xx"));
#endif
}
BOOST_AUTO_TEST_CASE( test_main )