46. Minor Annex D errors

Section: D.13 [depr.str.strstreams] Status: TC1 Submitter: Brendan Kehoe Opened: 1998-06-01 Last modified: 2016-01-28 10:19:27 UTC

Priority: Not Prioritized

View all issues with TC1 status.


See lib-6522 and edit-814.

Proposed resolution:

Change D.13.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.13.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;