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/20 06:43:05 UTC

[jira] Created: (STDCXX-149) [DR 432] stringbuf::overflow() makes only one write position available

[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
 Assigned to: 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


[jira] Commented: (STDCXX-149) [DR 432] stringbuf::overflow() makes only one write position available

Posted by "Martin Sebor (JIRA)" <ji...@apache.org>.
    [ 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


[jira] Commented: (STDCXX-149) [DR 432] stringbuf::overflow() makes only one write position available

Posted by "Martin Sebor (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/STDCXX-149?page=comments#action_12427640 ] 
            
Martin Sebor commented on STDCXX-149:
-------------------------------------

See also:
http://mail-archives.apache.org/mod_mbox/incubator-stdcxx-dev/200608.mbox/%3cD730FF7CEDDCA64483F9E99D999A158B3C7483@qxvcexch01.ad.quovadx.com%3e

> [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
>          Issue Type: Bug
>          Components: 27. Input/Output
>    Affects Versions: 4.1.3
>         Environment: all
>            Reporter: Martin Sebor
>         Assigned To: 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

        

[jira] Resolved: (STDCXX-149) [DR 432] stringbuf::overflow() makes only one write position available

Posted by "Martin Sebor (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/STDCXX-149?page=all ]
     
Martin Sebor resolved STDCXX-149:
---------------------------------

    Resolution: Fixed

> [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