[RFC/Patch] libstdc++/14320 aka class type streamoff doesn't work :(
Paolo Carlini
pcarlini@suse.de
Fri Feb 27 19:47:00 GMT 2004
Paolo Carlini wrote:
> Gabriel Dos Reis wrote:
>
>> | Keeping streamoff as a class type, basically amount to closing 14320
>> | as "WONTFIX"
>>
>> That is not what that would imply.
>>
>> One of the testcase says that operator*= is not defined. Another
>> wanted to insert or extract. It occurs to me that thr right course of
>> action is to provide those instead of removing the class.
>
> And what about the first testcase? And the fourth?
Also, besides the details of the various testcases, please consider that
the name of the PR is "istreambuf_iterator::difference_type is not a
signed integral type", therefore, clearly, we are talking about
signed-integral-type-ness, not about changing a class to behave "as if"
it were a C++ signed integral type. The testcases, are just
exemplifications of the general point.
Again, I'm convinced that we cannot answer the spirit of the PR while
keeping class streamoff.
Paolo.
More information about the Libstdc++
mailing list