[Patch] Simplify basic_streambuf::setg() and setp()?
Paolo Carlini
pcarlini@unitus.it
Sat May 3 23:20:00 GMT 2003
Hi,
this don't like specially, but, if I'm right, may help
noticeably in inlining _M_create_pback, _M_destroy_pback and
_M_set_determinate (see:
http://gcc.gnu.org/ml/libstdc++/2003-05/msg00014.html)
The point is: I have checked the standard and a couple of
other implementations and cannot find support for the final
'if' of our current setg() and setp().
(bonus: a minor clean up of _M_destroy_pback)
Tested x86-linux. Ok?
Paolo.
///////////
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: CL_setgp
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20030503/36a43b78/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch_setgp
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20030503/36a43b78/attachment-0001.ksh>
More information about the Libstdc++
mailing list