Boost logo

Boost :

From: Janusz Piwowarski (jpiw_at_[hidden])
Date: 2005-06-08 08:54:08

From: "Jonathan Wakely"

>> I'm attaching a patch for ifstream_line_iterator_test regression
>> failure. It's probably gcc bug (i test it for mingw 3.4.2, but i
>> noticed same error in linux tests), because compiler generates
>> copy constructor for temporary variables and never use it (for those
>> who want to test it in linux environment i'm attaching minimal
>> example).
> If I understand you correctly, this is a bug in the code, not GCC:

"This might be surprising at first sight" - c++ code starts look like
scripting language.

I'm attaching the patch that allows bind invalid ifstream_line_iterator to
the reference (it shall fix failure with gcc 4.0 and others).


Boost list run by bdawes at, gregod at, cpdaniel at, john at