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.

54. Basic_streambuf's destructor

Section: [streambuf.cons] Status: TC1 Submitter: Matt Austern Opened: 1998-06-25 Last modified: 2016-01-28

Priority: Not Prioritized

View all other issues in [streambuf.cons].

View all issues with TC1 status.


The class synopsis for basic_streambuf shows a (virtual) destructor, but the standard doesn't say what that destructor does. My assumption is that it does nothing, but the standard should say so explicitly.

Proposed resolution:

Add after [streambuf.cons] paragraph 2:

virtual  ~basic_streambuf();

Effects: None.