2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-19 04:22:16 +00:00

make test work on vc6

[SVN r31960]
This commit is contained in:
Eric Niebler
2005-12-08 22:15:31 +00:00
parent ab046dc634
commit 8b2f4b4ce0

View File

@@ -15,7 +15,9 @@ typedef std::list<int> list_int;
void assign(list_int& x, object const& y)
{
stl_input_iterator<int> begin(y), end;
x.assign(begin, end);
x.clear();
for( ; begin != end; ++begin)
x.push_back(*begin);
}
BOOST_PYTHON_MODULE(stl_iterator_ext)