54. Basic_streambuf's destructor

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

Priority: Not Prioritized

View all other issues in [streambuf.cons].

View all issues with TC1 status.

Discussion:

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 30.6.3.1 [streambuf.cons] paragraph 2:

virtual  ~basic_streambuf();

Effects: None.