
8 Oct
2007
8 Oct
'07
4:22 p.m.
AMDG 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; ++first; ++result; }
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. In Christ, Steven Watanabe