+2003-06-30 Doug Gregor <dgregor@apple.com>
+
+ * testsuite/24_iterators/insert_iterator.cc (test01, test02):
+ Don't initialize an insert_iterator with a singular iterator.
+
2003-06-30 Benjamin Kosnik <bkoz@redhat.com>
* acinclude.m4 (GLIBCPP_ENABLE_PCH): Add bits for --enable-pch.
// Check for required base class.
list<int> l;
- list<int>::iterator li;
+ list<int>::iterator li = l.begin();
typedef insert_iterator<list<int> > test_iterator;
typedef iterator<output_iterator_tag, void, void, void, void> base_iterator;
typedef std::insert_iterator<std::list<int> > iterator_type;
std::list<int> li;
- std::list<int>::iterator liit;
+ std::list<int>::iterator liit = li.begin();
iterator_type it01(li, liit);
iterator_type it02 = std::inserter(li, liit);
}