You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stdcxx.apache.org by "Martin Sebor (JIRA)" <ji...@apache.org> on 2006/02/25 22:12:55 UTC
[jira] Commented: (STDCXX-149) [DR 432] stringbuf::overflow() makes
only one write position available
[ http://issues.apache.org/jira/browse/STDCXX-149?page=comments#action_12367782 ]
Martin Sebor commented on STDCXX-149:
-------------------------------------
Here's a test case for this issue. After the changes above it runs successfully to completion.
#include <cassert>
#include <sstream>
int main ()
{
struct: std::stringbuf {
using std::stringbuf::eback;
using std::stringbuf::egptr;
using std::stringbuf::pbase;
using std::stringbuf::pptr;
using std::stringbuf::epptr;
using std::stringbuf::overflow;
} buf;
buf.overflow ('x');
const int write_positions = buf.epptr () - buf.pbase ();
assert (1 < write_positions);
}
> [DR 432] stringbuf::overflow() makes only one write position available
> ----------------------------------------------------------------------
>
> Key: STDCXX-149
> URL: http://issues.apache.org/jira/browse/STDCXX-149
> Project: C++ Standard Library
> Type: Bug
> Components: 27. Input/Output
> Versions: 4.1.3
> Environment: all
> Reporter: Martin Sebor
> Assignee: Martin Sebor
> Fix For: 4.1.4
>
> The resolution of issue 432 is not implemented:
> http://www.open-std.org/jtc1/sc22/wg21/docs/lwg-defects.html#432
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira