This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of TC1 status.

46. Minor Annex D errors

Section: D.12 [depr.str.strstreams] Status: TC1 Submitter: Brendan Kehoe Opened: 1998-06-01 Last modified: 2016-02-10

Priority: Not Prioritized

View all issues with TC1 status.


See lib-6522 and edit-814.

Proposed resolution:

Change D.12.2 [depr.strstreambuf] (since streambuf is a typedef of basic_streambuf<char>) from:

         virtual streambuf<char>* setbuf(char* s, streamsize n);


         virtual streambuf* setbuf(char* s, streamsize n);

In D.12.5 [depr.strstream] insert the semicolon now missing after int_type:

     namespace std {
       class strstream
         : public basic_iostream<char> {
         // Types
         typedef char                                char_type;
         typedef typename char_traits<char>::int_type int_type
         typedef typename char_traits<char>::pos_type pos_type;