Opened 11 years ago

Closed 11 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:


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

Change History (3)

comment:1 Changed 11 years ago by anonymous

comment:2 Changed 11 years ago by Jonathan Turkanis

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("")

filtering_stream,              s.pop()

comment:3 Changed 11 years ago by Jonathan Turkanis

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