From: Eric Niebler (eric_at_[hidden])
Date: 2007-10-08 13:14:44
Steven Watanabe wrote:
> Eric Niebler <eric <at> boost-consulting.com> writes:
>>> The test executes OK when I replace the implementation of copy with the
>>> following code:
>>> while (first != last)
>>> *result = *first;
>> Ah, ha! A million thanks Markus! I'll find a work around. And credit you
>> for your help, of course.
> Wouldn't it be better to move
> this->next_ = None;
> from operator= to operator++?
> Then std::copy will work correctly.
Great suggestion. Thanks Steven.
-- Eric Niebler Boost Consulting www.boost-consulting.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk