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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user