[RFC/Patch] libstdc++/14320 aka class type streamoff doesn't work :(

Gabriel Dos Reis gdr@integrable-solutions.net
Fri Feb 27 19:06:00 GMT 2004


Paolo Carlini <pcarlini@suse.de> writes:

| Gabriel Dos Reis wrote:
| 
| >In the meantime, I propose to retain the class you're removing in this
| >patch.  Removing this class would be the wrong thing to do.
| >
| Wait a minute. Of course I agree with what you are saying about C++ vs long
| long. But what about the requirement in 24.1 that difference_type is a
| signed
| integral type?

So.

What a signed integral type means in essence?  That is the question we
should seek an asnwer for. 

| We cannot even hope to fulfil it and keep streamoff as
| a class
| type. I believe this is the point of the PR.
| 
| 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.

-- Gaby



More information about the Libstdc++ mailing list