[Patch] streambuf.tcc: consistently size_t type, const-ify

Paolo Carlini pcarlini@unitus.it
Thu May 1 10:54:00 GMT 2003


Hi,

at least for the short and medium term, seems to me the most
consistent and simple choice: trying to change everywhere to
ptrdiff_t leads to lots of trickeries (e.g., signed-unsigned
comparisons, casts (_M_pback_create)...)

Tested x86-linux. Ok?

Paolo.

/////////
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: CL_size_t
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20030501/5be05e93/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch_size_t
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20030501/5be05e93/attachment-0001.ksh>


More information about the Libstdc++ mailing list