Opened 15 years ago

Closed 15 years ago

#1624 closed Bugs (fixed)

consider making chain/filtering_streambuf/filtering_stream closable

Reported by: Jonathan Turkanis Owned by: Jonathan Turkanis
Milestone: Boost 1.36.0 Component: iostreams
Version: Boost 1.34.1 Severity: Problem
Keywords: Cc:

Description

see thread "Another desperate request for help with a simple IOStreams sink and filter" on gmane.comp.lib.boost.user

Change History (3)

comment:2 by Jonathan Turkanis, 15 years ago

Done, in [43299]. Here is how close() behaves now for various types:

type                           semantics
----                           ---------

ifstream, ofstream,            s.close()
fstream, filebuf,
stream, stream_buffer

istringstream,                 s.str("")
ostringstream, 
stringstream, 
stringbuf

filtering_stream,              s.pop()
filtering_streambuf

comment:3 by Jonathan Turkanis, 15 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.