Boost logo

Boost :

From: Gennadiy Rozental (gennadiy.rozental_at_[hidden])
Date: 2005-06-11 02:28:03

"Jonathan Wakely" <cow_at_[hidden]> wrote in message
> On Mon, Jun 06, 2005 at 10:57:02PM +0200, Janusz Piwowarski wrote:
>> Hello all,
>> 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:

Yep. That'ts the "feature" preventing compilation (I still not sure why
standard require copy constructor in this case). So now any temporary of
noncopyable type couldn't participate in comparison operator. I've decided
not to fight this. Let's just make them non-temporary.


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